Reputation: 15
I have a SharePoint list with a PowerAutomate approval workflow which the end-user manually triggers by a button (JSON) in one of the columns, when they are ready to submit the flow for approval.
Is it possible to create a similar button but which stops/cancels the running flow for that item, in case the end-user no longer needs the approval, or spots something that needs editing and re-submitting, or whatever?
I think I'm OK with creating a button (it's worked for the trigger), but I just wouldn't know where to point it at in order to stop the flow.
Upvotes: 0
Views: 14
Reputation: 420
You need to format your column with JSON to create a button and integrate the button with Power Automate, take a reference to this article: Button in SharePoint List to Trigger Power Automate or this video: SharePoint Power Hour: List Button Trigger Power Automate.
Upvotes: 0