You need to sign in to do that
Don't have an account?

Trigger to run batch apex--urgent
Hi everyone,
I have scenario for that I need to write the trigger.
Here is the scenario.
We have a batch apex on accounts. Currently I am scheduling manually.
We have an object called updates in that we have a field called processed.
Informatica will make that field to true.
Based on that field I need to write the trigger to run the batch apex. Once the batch apex completed update the flag to false.
Can anyone help to write trigger to run the batch apex.
It's urgent...please help me with sample code.
Thanks
I have scenario for that I need to write the trigger.
Here is the scenario.
We have a batch apex on accounts. Currently I am scheduling manually.
We have an object called updates in that we have a field called processed.
Informatica will make that field to true.
Based on that field I need to write the trigger to run the batch apex. Once the batch apex completed update the flag to false.
Can anyone help to write trigger to run the batch apex.
It's urgent...please help me with sample code.
Thanks
Hi,
Get help from this code;
http://www.linvio.com/cronkit/sampleApexCode.html
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Chamil's Blog