cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

caDear Experts,

Could you please provide best possible ways to cancel the workflow which was raised against quote when it is expired.

For instance, I have a Quote of 15 days validity and workflow triggered against to it and it is pending for approval. If the quote is expired(after 15 days) my workflow is no longer valid and it should be cancelled automatically. Currently it is sending reminders to approval though my quote is not valid.

I thought of creating a new report which checks for open workflows for expired quotes and cancel via FM

SAP_WAPI_ADM_WORKFLOW_CANCEL. Can you please suggest any other best way to handle this requirement?

Thanks,

0 Likes
View Entire Topic

Check whether standard event triggered when Quote expires Else create custom event and use enhancement to trigger the custom event when quote expires. After this you can use wait for event(Standard or custom event ) step in parallel to approval process (Using fork) and can complete the workflow using Process control step.