web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Testing, Cancelling Fl...
Power Automate
Answered

Testing, Cancelling Flows still triggered

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Anyone else had issue where they have tested a Flow then cancelled the remaining actions but still seem to be triggered? 

 

I have an approval workflow that is linked to a SharePoint list and triggered by a Form - the Form is triggered first which sets off the approval workflow and writes back to SP list. 

 

I have noticed that if I have run several tests which I then cancel as I don't need to progress with these the approval emails still seem to be triggered but with incorrect ID numbers - the ID numbers on my SP list are correct. However the approval request ID (despite taking it from the Get Items dynamic content) is incorrect. So I can end up with multiple approval emails for the same ID number when their ID number is different in SP. There then seems to be a loop of if I action these approval emails with a approve or reject that it automatically triggers the next approval email which I have cancelled - very annoying and confusing!! And making my testing more labourious than it needs to be. 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Could you share a screenshot of your flow?

     

    What is “Request ID”? Is it custom Id field in your list?

     

    Please share more details on the flow to help reproduce this issue.

     

    Best regards,

    Mabel

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was able to troubleshoot this internally to resolve the issue. 

    In my flow I had actions to compose and concatenate to produce a specific ID number to create request ID for the list value.

    What we added to resolve the issue was step previous to apply to each to initialize requestID and step after compose 2 to set requestID - as per attached screenshot. This prevented any funny additional lines being created during testing - although this did not happen during pre-testing. Sharing for info - although I am still unclear as to the reason behind adding these additional actions?  Happy to have it all working again. 

     

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

    create id.png

     

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Thanks for updating and sharing.

     

    Glad to hear that you’ve figured out a solution and it is working for you now.

     

    Best regards,

    Mabel

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard