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
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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,753)