Dear Shuja Ur Rehman,
Thank you for reaching out to Microsoft Q&A forum. We are happy assist you.
Regarding the loop error you're encountering, I recommend trying the following suggestion to determine if the issue persists:
Below is a sample flow I created to test this scenario:
SharePoint List Configuration:
Power Automate Workflow:
To help prevent the infinite loop error, you can add a trigger condition to your flow:
Click the three dots on the trigger card.
Under the Settings.
Scroll to Trigger Conditions:
Paste this:
@not(or(equals(triggerOutputs()?['body/ApprovalStatus'], 'Approved'), equals(triggerOutputs()?['body/ApprovalStatus'], 'Rejected')))
This condition ensures the flow only runs when the approval status is not already set to "Approved" or "Rejected", helping to avoid unnecessary re-triggers.
If you need any further assistance or clarification, feel free to reach out. We're here to help. Thank you very much for your understanding and your cooperation.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.