+ Start a Discussion
jawtechjawtech 

trigger workflow field update from visualforce page?

I have a workflow rule that triggers fine off of a object record created. If I insert the same record through Visualforce and the Apex controller, the workflow does not trigger. Does workflow not trigger from an apex controller? The most frustrating thing is that the workflow does run in my developer account, but not in an account we released the managed code into. It is impossible to debug this.

 

I phoned Salesforce support and they said workflow doesn't trigger from Visualforce because it on a different domain. What? Why would I use visualforce when we use workflow?

Anand@SAASAnand@SAAS

Have you traced the log activity via "System Log"? A detailed trace of the log would be useful to determine if there's a different issue.