I've created a Flow when an item is modified to send an email to the creator of the item. I employed a switch condition that states when a Yes/No field equals "Yes" send an email. However, no matter what I use for "Yes" (Yes, True, 1) nothing happens - no email. I've used this function before in conjunction with a drop-down box and it worked a week ago, now nothing. Anybody else having this issue?
Solved! Go to Solution.
Hi @gackley,
This should be caused by the condition, please take a try to click the Advanced mode of the condition, change the 'Yes' value to bool(1), for example:
@equals( item()?['FieldName'], bool(1) )
This should make it work.
let me know if you need any further assistance.
Regards,
Michael
Hi @gackley,
This should be caused by the condition, please take a try to click the Advanced mode of the condition, change the 'Yes' value to bool(1), for example:
@equals( item()?['FieldName'], bool(1) )
This should make it work.
let me know if you need any further assistance.
Regards,
Michael
Hi @gackley, if I undestand correctly you'll need to do this steps.
1 - Use a compose to tranform your boolean value in string - Switch only works with strings and integers
Use this text in compose : "@string(triggerBody()?['NAME OF PROPERTY'])"
2 - Use the switch and see the magic 😄
If you need something else you can call me. If you can post a print of your flow.
The first print is the result, the second how i do:
Result
How i Do
Regards,
Gustavo Moraes
Gustavo Moraes, o astronauta brasileiro do Flow!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
90 | |
50 | |
36 | |
30 | |
27 |
User | Count |
---|---|
73 | |
60 | |
50 | |
39 | |
38 |