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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / DO UNTIL IS NOT WORKIN...
Power Automate
Answered

DO UNTIL IS NOT WORKING CORRECTLY

(0) ShareShare
ReportReport
Posted on by

SOMEONE KNOW WHY HE CAN'T STOP THE "DO UNTIL". 

 

HOWEVER OPTION THE APPROVAL CLICKS THE "DO UNTIL" DONT GO TO THE NEXT STEP.

 

SEE THE PRINT: 

 

print_flow_do_until.png

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at
    Hello,

    Can you try using Outcome instead of Responses in the do until.

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Gorilla_8 

     

    @Jcook answer is correct, but be aware that, if you have multiple people, the "Outcome" will concatenate the answers. For example, "Accepted, Rejected," so, if this is the case, you need to parse the string to see if there are only accepted before going forward. 

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • Gorilla_8 Profile Picture
    on at

    I try to use "Outcome" and he didn't make an loop on "do until"

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @Gorilla_8 

     

    I would recommend a different approach. Make the process trigger with an HTTP Post and, each time it's rejected simply have the Flow to call it itself by doing an HTTP post. Then you can have a cycle and have the flow finish cleanly.

     

    You can use a Child Flow:

    https://manueltgomes.com/microsoft/flow/flow-run-child-flow/

     

    Or using it as a web service.

    https://manueltgomes.com/microsoft/flow/using-flow-as-a-web-service/

     

    I use it all the time and it works like a charm.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • Gorilla_8 Profile Picture
    on at

    I understand how do until works, but i need to send an email if the response is equal to "Aceitar", how I do that?

     

    print_dountil.png

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @Gorilla_8 ,

     

    Try putting Outcome in the If condition.

     

    Thanks

     

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

     

  • Gorilla_8 Profile Picture
    on at

    I got this error @Jcook print_dountil2.png

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @Gorilla_8 

    In the second picture the error is coming from the send email.

     

    Could you click that action to get the error details and post it.

    Thanks

     

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

     

  • Gorilla_8 Profile Picture
    on at

    @Jcook 

     

     

    InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '1' and column '2801': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365']['connectionId']' cannot be evaluated because property 'shared_office365' doesn't exist, available properties are 'shared_sharepointonline, shared_approvals'. Please see https://aka.ms/logicexpressions for usage details.'.

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hi @Gorilla_8 

    This seems to me like a bug that can happen sometimes.

     

    Try removing the failed Send Email action and re add.

     

    Thanks

     

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard