Skip to Content
May 22, 2016 at 12:08 PM

Solution for Typical Business scenarios in PO workflow


Hi all,

I have built a custom PO release workflow for event BUS2012 ReleaseStepCreated but we have got some business scenarios and we don't know how to handle them.

I know the below question would have been asked a lot in the forum but i am not getting appropriate answers.

1.Workflow is created whenever release strategy is created and the event is triggered.So when a PO is created a workflow is created.

But when the same PO is changed and for some reason the release strategy is triggered again ,then a new workflow is triggered again.

So how to logically delete or remove,or complete the previously created workflow .

2 . After approval of work item at user decision, i am calling BUS2012 Release method in a task .But if the release fails due to any reason(for eg ,the PO is in edit mode by another user),then the entire workflow goes into error.

We can ask the initiator to restart the workflow from SWPR but how to notify the initiator in case of error.

We dont have a workflow admin on the client side :(.

Any advice would be very helpful.