cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sranacdw
Helper I
Helper I

Unable to process template language error during approval step

We have a simple approval flow and it fails at Condition for Approval. Below is the error I am receiving:

Unable to process template language expressions for action 'Review_Request' at line '0' and column '0': 'The template language expression 'outputs('Start_and_wait_for_an_approval')?['body/outcome']' cannot be evaluated because property 'body/outcome' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

It almost feel like the Outcome = Approve does not gets complete. Any suggestions?

3 REPLIES 3
CFernandes
Super User
Super User

Hey @sranacdw 

 

This error message usually occurs when selecting dynamic values from a nested array,

 

For more details see - https://powerusers.microsoft.com/t5/Using-Flows/Unable-to-process-template-language-expressions-for-... 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

I was able to resolve this issue by reconnecting the approval step. Also I had to move the "Start and wait for approval" action a step above.

Hey @sranacdw - I am glad that you have managed to resolve the problem.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (1,633)