Hi Power Automate Community,
I am trying to set a variable to a specific country, to later dynamically use this for different folders etc.
One thing I can't get to work is to set the variable to the country from the trigger, except for country A and country B I want the variable to be "United AB".
Any help would be very much appreciated!
if(equals(triggerOutputs()?['body/Country'],'Country A', 'United AB'), if(equals(triggerOutputs()?['body/Country'], 'Country B', 'United AB'), triggerOutputs()?['body/Country']))
Solved! Go to Solution.
Hi @Ronja
Thanks for your reply.
Try the below
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @Ronja
Not fully understand about this. So IF the country is NOT Country A or Country B then set to 'United AB'. Is that you after?
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi @abm actually the opposite 🙂 So if it's country A or Country B then set the variable to United AB, otherwise use the existing country.
I hope this makes it a bit clearer. 😌
Thank you!!
Hi @Ronja
Thanks for your reply.
Try the below
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogUser | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
12 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |