Question:
Dear All,
We have to trigger a workflow from our custom function module for Idoc creation if the value of a field is initial. I know that somebody already developed workflow. Now i have to trigger this workflow. Can anybody tell me how can i trigger this workflow from my function module.
Thanks for your help in advance,
Answer:
Find out the triggering event for that workflow & raise that event in you program using function module 'SWE_EVENT_CREATE'. This will trigger the Workflow.