Restart Workflow on changing the SC value
Hi SRM Champs,
There is a interesting requirement in our project for Shopping Cart workflow with value limit approval.
Here, for the workflow there are two approvers APPROVER1 and APPROVER2 with the following condition :
upto 1001 $ > more APPROVER1 should approve
from 10001 $ > more APPROVER2 should approve
Now please look into the below scenario :
When creating a shopping cart passing values like qty as 1 and value as 10020 $ and ordering the shopping cart. The system should determine the only 2 Approvers it is happening perfectly.
But,after approved by the APPROVER1 ( Remember APPROVER2 yet to be approved) The requester changing the value as 1600. Now the value is < 10001 Now workflow should restart and control should go to APPROVER1 this is not happening, wherelse the Shopping cart is showing to be approved by APPROVER1 in the check status.
Logic should be whenever changes are happening in SC workflow need to restart and approval process start from the beginning.
Please help in this direction, any help shall be profoundly appreciated and rewarded points.