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

Condition returns false when field in sharepoint list changes

Hi Experts

 

I have created a flow which runs when a "Status" field (drop-down) in a Sharepoint list is changed to "Resolved".

The flow runs, but the Condition block always returns Expression result = False

I added a 'Compose' action which clearly shows that the field value is set to "Resolved" when run:

 

 flow1.PNG

 

 This is the flow in edit mode:

flow2.PNG

 

This is thThis

Any ideas? Some intense googling doen't seem to have thrown any light on a solution. For info, I have also entered the condition as an expression with the same result (equals(triggerBody()?['Status']?['Value'], 'Resolved')

Thank you!

4 REPLIES 4
spsolutionsgrp
Helper V
Helper V

Will you verify that you are using Status Value in your condition as your image only shows status.

 

2019-02-13_7-50-47.jpg

AlanPs1
Resident Rockstar
Resident Rockstar

Hi @shrimper

Based on the information you have provided and the naming convention in the graphic,

Try setting your condition to:Capture-099.png

 

Also: not sure you need that "Compose" if it just holds status, unlesss you are calling the compose with outputs('Compose') somewhere else in your Flow that is not in the graphic, or it is just for testing and the illustration perhaps as you had of course mentioned "I added a 'Compose' action which clearly shows that the field value is set to 'Resolved' when run"!

 

If you have found my post helpful, please mark thumbs up.

If this post has solved your problem, please click "Accept as Solution".

Any other questions, just ask.

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Thanks for the reply, yes I had tried both "Status and "Status Value" with the same results.

As a workaround, I have initialised a variable which is set to Status Value and then used that in the condition - which seems to work ok

Very strange, glad you found a workaround.  I would be curious if you tried to do the same thing in another Flow if you would get the same results.   Your original method should and does work in my environment.

 

If you found my response helpful please mark as a solution.

 

 

Thank you,

Terrence

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,056)