Skip to Content
0
Former Member
May 02, 2008 at 06:20 AM

PO: Release Rejected Workflow

508 Views

Hi all

I have the requirement of making a workflow for the Purchase Order release. The approval process works fine: I have looked at the standard template:

WS20000075

But I am having problems with the rejection process.

The process is as follows:

There can be a maximum of 5 levels on a PO with release codes from U0 to U5. Whenever a PO is rejected for release, the person at that level will reject it and save.

Then the previous person will have to cancel the rejection, cancel his release and save again

A similar process till it goes to the base level. At that point, a mail will go to the initiator to make changes and restart the process.

-


With the standard template what happens is that whenever the release is changed whether for approval or refusal.The same event is triggered again and the first activity sends a release request to the next approver again--which is calculated with the default assigned rule.

-


How to go about this rejection process? Can someone guide me?

I have also looked at an event - RejectionStarted but it has the same issue. After i cancel and send it to the previous approver, the same event will be called after that approver saves the PO. A request will go ahead again and the workflow will be stuck in that loop.

There is also a method resetrelease. I put it in my activity and set it as a background process, it gave an error- release not effected --Doesnt the release code change after I reject it?

Points will be rewarded.

Thank you