Hi there... I have created a Team and a shift for a rostering system.
I have managed to create a flow which runs each 10 minutes and pulls the open shift offers in.
I then have an action to auto approve, using the ID from the initial pull.
This works as expected, however the script seems to reexamine all the shift offers and returns errors for all except the newest ones (which it hasnt seen yet).
Is there a specific "filter" or similar or another way of using this action so that there isnt so much wasted screening going on?
There is an "apply to each" module there which holds the approval action. Perhaps this is the point where the filter is applied?
Thanks
Tony
Solved! Go to Solution.
Hi @TonyKuiperSAAS ,
Could you please share the screenshot of the Flow configuration?
It seems that you could use Filter array to filter requests or use Condition in Apply to each to filter requests.
Please check the following link to get more details about Filter array:
https://sharepains.com/2018/12/18/microsoft-flow-filter-data-in-an-array/
Best Regards,
Hi @TonyKuiperSAAS ,
Could you please share the screenshot of the Flow configuration?
It seems that you could use Filter array to filter requests or use Condition in Apply to each to filter requests.
Please check the following link to get more details about Filter array:
https://sharepains.com/2018/12/18/microsoft-flow-filter-data-in-an-array/
Best Regards,
Your link pointed me to some good resources on filtering arrays. I have managed to filter the data now so that only the appropriate data items are getting progressed to the final stage. Cuts the run time down a lot!!!
I hunted this down and solved my problem similar to OP :
https://github.com/OfficeDev/Microsoft-Teams-Shifts-Power-Automate-Templates
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 |
---|---|
45 | |
41 | |
36 | |
36 | |
22 |
User | Count |
---|---|
40 | |
36 | |
28 | |
27 | |
27 |