What triggers workflows execution from IDocs
I have set up a process that triggrs workflows from IDocs by setting the Process code to 'Process by task'.
In some cases, when the workflow falls over, it would be easier to create a new workflow rather than fix the old (the workflow has checks in so that it will not create duplicate documents at any point).
I would like to write a restart report that allows an IDoc to be reprocessed using a new workflow, but I don't see how it is triggered; it is not via an event because the workflow does not have a triggereing event.
Can somebody tell me what the function module is that triggers the workflow, or if it is a report program?