I'm creating an approval workflow using Power Automate for SharePoint Online.
I would like the workflow to be closed when the user presses the "Cancel" button in PowerApps while waiting for the first approver to approve. In order to do this, I think I need to create another Flow that will work when the "Cancel" button is pressed.
Is there any way to find the workflow that is pending? I would be very grateful for any idea/pointers.