Hi @OzHamid,
How do you want to do if the second approval email (after changing what they need to) is also rejected by the approver?
I have created a SharePoint list on my side and the data structure of it as below:
Note: The TaskName column and Executor column are both Single line of text type column, Due Date column is a Date type column, ApprovalStatus column is a Choice type column (available value: "Approved" or "Rjected") and the default value of it is null. The Last Modified Time column is a Date type column, which is used to store the last modification time of the item.
I have made a test on my side and please take a try with the following workaround:
- Add a "When an item is created" trigger.
- Add a "Start an approval" action, specify Assigned to field.
- Add a "Condition", left input box set to Response dynmaic content of "Start an approval" action, right input box set to Approve, within middle drop down, choose is equal to.
- Within "If/yes" branch of Condition, add a "Update item" action, ApprovalStatus Value field set to Approved, Last Modified Time field set to Modified dynamic content of the trigger.
- Within "If/no" branch of Condition, add a "Send an email" action to notify the submitter that they just need to change something for it to be approved. Then add a "Update item 2" action, ApprovalStatus Value field set to Rejected, Last Modified Time field set to Modified dynamic content of the trigger.
Add a "Do Until" action, within condition box, click "Edit in advanced mode", type the following formula:
@equals(body('Get_item_2')?['ApprovalStatus']?['Value'], 'Approved')
Within "Do Until" action, add a "Delay" action, Count set to 1 and Unit set to Minute. Add a "Get item" action, Id field set to ID dynamic content of the trigger. Then add a "Condition 2", left input box set to Modified dynamic content of the "Get item" action, right input box set to Last Modified Time dynamic content of "Get item" action. Within "If/yes" branch of "Condition 2", add a "Start an approval 2" action, then add a Condition 3, left input box set to Response dynmaic content of "Start an approval 2" action, right input box set to Approve, within middle drop down, choose is equal to. Within "If/yes" of Condition 3, add a "Update item 3" action, ApprovalStatus Value field set to Approved, Last Modified Time field set to Modified dynamic content of the "Get item" action. Within "If/no" branch of Condition 3, add a "Send an email 2" action to notify the submitter that they just need to change something for it to be approved. Then add a "Update item 4" action, ApprovalStatus Value field set to Rejected, Last Modified Time field set to Modified dynamic content of the "Get item" action. Under "Condition 3" (still within "If/yes" branch of Condition 2), add a "Get item 2" action, Id field set to ID dynamic content of the trigger.
Image reference:

The "Do Until" action:
The "Condition 2" action:
The Condition 3 action:
The flow works successfully as below:

Best regards,
Kris