You need to sign in to do that
Don't have an account?
Mig
Workflow can not trigger workflow ... and Apex trigger update can it trigger workflow ?
I know that's it's not possible to trigger a worklow by a field update done by another workflow.
My question is : If My fiest workflow updates a record that will fire my apex trigger and this apex trigger fires a worlfow. Do you think this will work ?
If not, do you know if it's possible to enable this functionnality ?
( a guy here says that he thinks it's possible, how can I do it ? )
Thanks a lot for all your answers.
Cheers,
Mig
Apex can trigger workflow on a different object if you touch it. So let's say you change a Case which fires a before update Case trigger which updates a Contact -- workflow on that Contact will fire.
Or you can use an @future to trigger workflow on the case asynchronously (but shortly after the transaction has completed). Here's an example of @future in action:
http://blogs.salesforce.com/support/2009/01/allowing-custom.html
All Answers
Apex can trigger workflow on a different object if you touch it. So let's say you change a Case which fires a before update Case trigger which updates a Contact -- workflow on that Contact will fire.
Or you can use an @future to trigger workflow on the case asynchronously (but shortly after the transaction has completed). Here's an example of @future in action:
http://blogs.salesforce.com/support/2009/01/allowing-custom.html
great. Thanks for your answer and for the @future notaion ...
Cheers,
Mig