Hi,
I'm setting up a CRM account for a client and am having problems with Workflow rules triggering a custom function when a Lead is created using the APIs.
To explain,
I've setup a Custom function, which accepts an ID of a lead, this function updates a field in the lead depending on the field in one of the fields in this new lead. I've tested the Custom Function and its working as expected. I've created a Workflow rule which triggers the Custom Function on Create/Edit of a Lead. I also have a update field associated with this workflow rule, just so I know the rule is firing.
When I create (or edit) a Lead online (using the web interface), the workflow rule fires and the field update is triggered and the Custom Function is called and updates the fields in the Lead as expected.
The Issue:
When I create a Lead using the CRM APIs (APIs called from an eternal website), the Lead is created successfully, the Workflow rule fires and triggers the Field Update that's associated with it but it does not trigger the Custom Function. In the APIs I have set the parameter wfTrigger to "true" and am only creating a single Lead at a time (I'm aware that the workflow rules will not be triggered when creating multiple Leads).
So to summarize, workflow rule is correct and fires both the Field Update and Custon Function when a Lead is Created or Edited using the Zoho Web interface. The issue: When a Lead is created using the APIs, the workflow rule is triggered, Field Update fires as expected but the Custom Function does not Fire?
Thanks,