function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GrantMGrantM 

Trigerring Workflow through the API

hi

We have created a Workflow to email us when a lead is updated and meets a certain criteria.

This triggers fine when done through the Salesforce front-end, but not through the API.

Do workflows not trigger through the API, or is there something i need to specify like when using Assignment Rules

Regards and TIA

GrantM
SuperfellSuperfell
Workflow should fire when changes are made via the API, there's no additional header needed.
GrantMGrantM
Thanks for your Response Simon

The reason this wasn't triggering, is because workflows based on formula fields are not triggered through the API.
They due however trigger through the Salesforce UI.

I believe this is a bug that will hopefully be fixed in the Winter 07 release

-GrantM