Hi All,
I am trying to setup a flow that works a two step proces.
Step 1 is to get the current employees from our CRM system using a HTTP request, to filter this JSON Array and then proceed to,
Step 2 which, should be iterating through the items and do another HTTP request to get the status of their hours reporting.
So-far I am able to filter the output of the first HTTP request with a condition (the CRM System has some system users) to filter only users with a name. (length(items('Apply_to_Each')['name']) > 0) as this is a array PowerAutomate does create a 'Apply to each'. The 'True' section thus leads to the second phase of the puzzle where I lose the understanding and therefore have my questions.
1. The JSON output of the 'Parse JSON - Fetches hours submission status, by date, for an employee' does not contain the Name nor E-mail which I need for the Teams bit, how do I forward that on?
2. The JSON output of the 'Parse JSON - Fetches hours submission status, by date, for an employee' contains 7x a 'submitted' leading to 7x a 'thanks' or 'action please' message, how can I limit it to one time?
Thanks in advance for your feedback.