Hello, I'm currently building a flow with teams' approval.
Depending on a sharepoint list value, the approvers will be different.
For example, if the departments concerned are football and fitness, the approval will be sent to each chief.
Instead of setting new variables, I'd like to know how to put together the if expressions.
Still thinking how to get the true values from Parse JSON
Finally getting the compose to "Assigned to field"
Solved! Go to Solution.
Hey,
Here is the final flow.
Don't forget to use the Parse JSON "Generate from sample" with your compose output.
Thank you so much @abm.
Hi @pedrosf
I am not sure about the JSON If statements you mentioned. You could do this via switch action step.
Declare a string variable called email. Then retrieve the items using Get Items. Add a switch action step to determine the category and store the email under the new variable. Finally send email using the variable which will have the email address.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHello @abm,
Thank you for answering my request.
I've already flow with a switch setup but I dont'know if the cases "Equals" field triggers if the sharepoint values are written like this.
Hi @pedrosf
Here it is
Above the Parse JSON is as follows:
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHello,
I tried for the last 3 hours to get this through but the "Equal" field doesn't detect the words in the "Expression result".
It always goes to default.
(To get the "Outputs" in Parse JSON content filed, I had to put the dynamic content in Compose after)
Hi @pedrosf
I am pretty sure you are mapping the wrong mapping in your switch
See my mapping
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHello,
That screenshot you mentioned is the result of the flow.
I have the same thing as you.
Hi @pedrosf
Thanks for the screen share. All we did is rearranged the flow similar like my earlier screenshot.
1. Extract the values from SharePoint
2. Parse JSON
3. Iterate each values
4. Switch
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsHey,
Here is the final flow.
Don't forget to use the Parse JSON "Generate from sample" with your compose output.
Thank you so much @abm.
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 |
---|---|
39 | |
36 | |
34 | |
32 | |
27 |
User | Count |
---|---|
44 | |
36 | |
33 | |
25 | |
22 |