Hi
Im developing a workflow to assign a SAP position for a New Hire employee.
The sceniro is If an employee is hired with default position, then WF have to be triggered to HR Administrator.So far the workflow is working fine.
But there is a new requirement, if a HR Administrator cancel one of the task meaning confirmation message, then the same workflow have to be re-triggered from beginning. As we know we can write in termination event.
But I dont know where to write this logic in task definitation. Im working in ECC 6.0
Pls help me to sort out this issue
Thanks
Kamalbabu
Hello Kamalbabu,
In the workflow header, under version-dependent settings, goto the events tab. There you can define a terminating event with the resulting action "Cancel and restart workflow".
Cheers,
Mike
Hi Kamalbabu,
You can call a workflow recursively.
so suppose your workflow is called ws900000001 you can then create a step in that workflow for the definition ws900000001, if you provide the binding for that step, this will in effect "restart" the workflow.
As you can see from the other posts there are a lot of solutions to the same problem.
If I were you I would just put the logic in a loop, this is easier to model, enhance and understand by other workflow developers.
Kind regards, Rob Dielemans
Add a comment