@and (equals(triggerBody()?['CAB_x0020_Decision'], 'No Vote'),equals(triggerBody()?['Status']?['Value'], 'Ready for CAB'))
When my field CAB decision has a value of No Vote and my Status has a value of Ready for CAB it still returns a false on this condition.
Can someone point out if I have done this wrong?
Thanks,
Nathan
Solved! Go to Solution.
Hi @njhonea,
What's the purpose of the flow? Also, is this a SharePoint list? If so, can you please post the list columns and screenshots of your flow steps so I can re-create it on my end and test?
Thanks,
Fausto Capellan, Jr
What type of column is the "Cab Decision"? Is it a choice or a single line of text? I just ask because I created that column as Choice.
Hi @njhonea,
Could you please share a screenshot of your flow’s configuration?
Further, could you please show a bit more about the data type of CAB Decision column and Status column?
I have created a CAB Decision column and Status column which are both Choice type in my SharePoint list. I have made a test on my side and the flow works well, please take a try with the following workaround:
@and(equals(triggerBody()?['CAB_x0020_Decision']?['Value'], 'No Vote'),equals(triggerBody()?['Status']?['Value'], 'Ready for CAB'))
Image reference:
The flow works successfully as below:
Best regards,
Kris
Hi @njhonea,
What's the purpose of the flow? Also, is this a SharePoint list? If so, can you please post the list columns and screenshots of your flow steps so I can re-create it on my end and test?
Thanks,
Fausto Capellan, Jr
The purpose is an approval flow that runs off of those fields being present in a sharepoint list. The flow then updates fields on a sharepoint list. Everything else works except that and statement that I posted so something must be wrong with that. When I put in a single basic condition it works.
What type of column is the "Cab Decision"? Is it a choice or a single line of text? I just ask because I created that column as Choice.
Hi @njhonea,
Could you please share a screenshot of your flow’s configuration?
Further, could you please show a bit more about the data type of CAB Decision column and Status column?
I have created a CAB Decision column and Status column which are both Choice type in my SharePoint list. I have made a test on my side and the flow works well, please take a try with the following workaround:
@and(equals(triggerBody()?['CAB_x0020_Decision']?['Value'], 'No Vote'),equals(triggerBody()?['Status']?['Value'], 'Ready for CAB'))
Image reference:
The flow works successfully as below:
Best regards,
Kris
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
21 | |
11 | |
10 | |
8 | |
4 |
User | Count |
---|---|
26 | |
16 | |
14 | |
13 | |
12 |