I’ve created a sequential approval workflow to trigger when a Sharepoint item is created or modified.
I have set an additional trigger condition to only run the flow when the status of a sharepoint item is either ‘new’ or ‘rejected.
When the approver ‘rejects’ the request the status correctly changes to ‘rejected’ but the flow triggers and runs again requesting another round of approval not allowing the user to modify and update the item.
The flow should trigger when an item is rejected but only when the user modifies something on the item again post the rejection, not automatically sends it for another round of approval.
The trigger condition I have input is below:
@or(equals(triggerOutputs()?['body/Status/Value'],'New'),equals(triggerOutputs()?['body/Status/Value'],'Rejected'))
The flow should trigger when an item is rejected but only when the user modifies something on the item again not automatically sends it for another round of approvals.
I expect the status to remain as ‘rejected’ until the user modifies something on the item then the flow should proceed and then automatically change the status to ‘under review’. However, the way the flow is working right now is that when an item is ‘rejected’ it automatically changes the status to ‘under review’ even when the user hasn’t modified anything on the item.
Flow part 1
Flow part 2
Flow part 3
Flow part 4
Flow part 5
5