cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kathomsen
Advocate I
Advocate I

Trigger Conditions Error

I am trying to use the Trigger Condition to automate a Flow.
(I am using a Patch statement to change the RequestStatus to New when an item is updated). 

 

ErrorErrorDetails.GIF

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@Kathomsen 

Try putting single quotes around New.

 

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

3 REPLIES 3
ScottShearer
Super User
Super User

@Kathomsen 

Try putting single quotes around New.

 

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

Scott
v-alzhan-msft
Community Support
Community Support

Hi @Kathomsen ,

 

The trigger Condition should as below if the RequestStatus column is single line of text type:

@equals(triggerBody()?['RequestStatus'],'New')

1.png

 

 

And if the RequestStatus column is Choice type, you should take a try with expression below:

 

@equals(triggerBody()?['RequestStatus']?['Value'],'New')

 

 

Best regards,

Alice   

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

Thanks so much! (Couldn't see the forest through the trees on that one!)

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!

Top Solution Authors
Users online (2,287)