cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
saturation
Resolver I
Resolver I

Need help with error on trigger - The template condition expression is not valid template language expression

I am creating a Flow that has a trigger on Create of a record using CDS. I only want the Flow to run if the record being created has a field equal to 1. In the "Trigger Condition" I added the xx_myfield eq '1' (also tried without tick marks, same error) and am getting this:

 

The power flow's logic app flow template was invalid. The template condition expression ' xx_myfield eq '1'' at line '1' and column '2908' is not valid template language expression.

 

Thoughts?

1 ACCEPTED SOLUTION

Accepted Solutions
saturation
Resolver I
Resolver I

Realized I need to use @equals triggerbody syntax with that....Very confusing.

View solution in original post

2 REPLIES 2
saturation
Resolver I
Resolver I

Realized I need to use @equals triggerbody syntax with that....Very confusing.

View solution in original post

alrez
Community Support
Community Support

Hi,

 

Yes that definitely does seem odd. Either way, I am glad that you were able to get your issue figured out. Hopefully this will prove to be useful to future communities users!

 

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.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,504)