on 05-23-2006 8:14 AM
In the process of developing a 2 level PO Release Approval Workflow.
Once the release strategy gets assigned it triggers the workflow instance
and a dialog workitem of Object type: DECISION method: PROCESS
goes to the approvers inbox for Approval/Rejection.
Now in case the concerned Approver and the backup are not available and
somebody directly goes to transaction ME28 and releases the PO for the
respective release code then this dialog workitem should get status =
"COMPLETED". For this to happen I have also maintained "RELEASED"
as the terminating event for this task.
But somehow this does not seem to work. The work item is not getting
automatically completed once this event is triggered and thus the workflow
remains "In Process" even though the release has already taken place.
Any Clues?
Thanks and Regards
Hello Mallika,
you might want to post in the Workflow-Forum here:
Having the standard scenario active (release strategies) and using plain decisions during the approval leads to contradiction anyways. I would propose either to go back to the standard scenario for the release step or programming your own release screen that is able to release the PO in batch/background mode or whatever.
What you specific problem here possibly is: You are using a synchronous task (decision object) with a terminating event. This usually doesn't work well. The workaround to complete this workitem would be to redefine the method Decision.Process, call the super->process method and afterwards use SWE_EVENT_CREATE to raise the terminating event for itself.
Best regards,
Florin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.