cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Awelch
New Member

3 Level Conditional Approval Flow

I am creating an approval flow in Power Automate using 3 levels of Start and Wait for an Approval. After the second approval level if the request is for a term greater that 45 days, I want a third level of approval to be required. I have completed the flow to run as makes sense to me but I am receiving the following error message. "InvalidTemplateUnable to process template language expressions for action 'Condition_3' at line '1' and column '27441': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'. Any thoughts on where I went wrong would be appreciated.

 

 

Awelch_0-1640799101703.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@Awelch 

As a follow-up to the comments by @alrez try using an int() expression in your condition to convert the value that is a string to an integer. 

 

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

Scott

View solution in original post

2 REPLIES 2
alrez
Community Support
Community Support

Hi,

 

I would need to see the edit view of the Flow to give any advise. The error seems to be fairly straightforward however in that you are trying to compare data that is two different types and is incompatible. If you fix that it should allow the flow to run.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ScottShearer
Super User
Super User

@Awelch 

As a follow-up to the comments by @alrez try using an int() expression in your condition to convert the value that is a string to an integer. 

 

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

Scott

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,497)