cancel
Showing results for 
Search instead for 
Did you mean: 

2 level PO Release Approval Workflow.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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