Hello all, still stuck on this flow condition...need to create a condition that checks for two values in a given field. Either 'Approved' or 'Denied'. If value exists then create item in SP list. If value does not exist then do nothing. I need help writing the Expression in the "Choose a Value" field. I believe I'm doing this correctly in using the dynamic field generated "20 - App" as the field that I wil check then addin gthe qualifier "Contains" but stuck on what the Expression needs to look like. If anyone can help with this that would be great! Lastly, I I fill no information in the "If no" part of the condition, is that the same as "do nothing"? Thanks so much all for your help on this!
Flow newbee.
Tom
Solved! Go to Solution.
Hi @tomh , thank you for your post in the Flow Community.
Based on the information you have provided.
Are you looking to return true if "20 - App" has either Approved or denied in it?
If so, try this:
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
Getting this error when using condition "contains" and value, contains('Approved','Denied')
Hi @tomh , thank you for your post in the Flow Community.
Based on the information you have provided.
Are you looking to return true if "20 - App" has either Approved or denied in it?
If so, try this:
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
I think this worked! looks like my flow ran successfully!
Thanks for your help
Tom
That's great news @tomh
Just one more thing, in order not to mis lead the future visiters.
Can you please mark my reply (message 3) as the Solution.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
I spoke too soon... @AlanPs1
Flow is running successfully but data now not publishing to SP list. Getting condition not satisfied when the correct data is in fact now in the field.
Thanks!
Tom
Hi @tomh .
So the condition is returning false.
Please expand the "When a responce is submitted" and screen shot it and post in any JSON output so I can help you try and figure out why.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
below is the Json output when response is submitted:
This is the field I believe is affected: "20 - Approver: Manager #1 Approval Status": "Approved\n",
Thnaks Alan!!
Hi @tomh
This I would expect is the problem
"20 - Approver: Manager #1 Approval Status": "Approved\n"
within the inverted commas you have \n (new line). I suspect that this will return false so best look at the form itself.
Or if that beomes an issue, make the conditition mirror the above but best to try and understand why the form has "\n" attached to the end.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
Proud to be a Flownaut!
hey @AlanPs1 , thanks for your continued help on this...I've mirrored the "Approved\n" and "Denied\n" potential responses from the form but still getting error. Flow is running successfully but skipping the publish condition. The condition is returning 'False' but infact should be true. Please see images below. Any ideas how tofix this?
Thanks!
Tom
User | Count |
---|---|
98 | |
40 | |
27 | |
23 | |
16 |
User | Count |
---|---|
130 | |
51 | |
48 | |
36 | |
24 |