Thanks Tomasz for a nice video. Actually you can do this simply by going to the settings of "For each loop" and just switch on "Concurency Control" which will do the approvals parallel instead of sequental. there is also a slicer in which you can choose how many iterations of pararelism you want, by default its 20 so it means it will send 20 approvals simulatenously in parallel.
Wow, that was the best solution, pretty simple. I have a long list of users, and I need to have some feedback from them, now adaptive cards are sent in parallel and waiting for each. Thanks to you and Tomasz, great article and reply.
This Comment saved me so much Headache. Thank you so much. For anyone else reading, click the 3 dots at the top right of the "apply to each" or "for each loop" , click settings, and then toggle the "Concurrency Control" setting ON.
Hello Tomasz, really like the solution oriented approach. Normally hear the answer "no, it's not supported". We work mostly with Logic Apps and have exactly a similar issue however we have a problem to cancel pending approval requests after the first approver rejects the request. Our consensus is a bit similar to Liberum Veto, however request could be rejected before the minimum number of required approvers meet the consensus (e.g. requires two approvals from 5 owners to meet consensus and process the request). PS of course we have an underlying database we only struggle to inform other approvers that approval is not required anymore and cancel the pending approval requests. Any hints? Great job, Thanks!
Hi, Grzegorz have a look at new release of Adaptive Cards functionality called "Universal Actions": docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/universal-actions-for-adaptive-cards/overview. That is definitely what will help you, however as of today you need to build a bot yourself, there's no mechanism yet present in Power Platform/ Logic Apps that could handle this for you.
Hey Thanks for this awesome video, I am now a subscriber. I was wondering if you could give me some pointer for my project, I am trying to send an approval adaptive card to 2 Teams users and have the card wait for the First to Respond then it moves to the next flow. I just need 1 of the 2 Team Members to approve. I tried various ways but it keeps having both to approve rathe than 1. Any help will be appreciated thanks!!
So try partially the pattern I proposed here. Create a loop where in each run you trigger child flow that creates Adaptive Card. You obviously need to have some database too. In there you will store information about how many responses you're waiting for. Each completed child flow will update number of completed responses by 1. And then, for example, create another flow, triggered on change in that database. There you compare, if the number of responses is equal to the number of expected responses. If yes - continue to the logic. Otherwise, terminate.
@@TomaszPoszytek Thank you so much! I will give this a try, You are the only one on youtube that has attempted this. I have been googling and looking for videos all week. I will let you know how it goes!
Hi Tomasz, could you help me with the below similar use case- I have created a flow where it takes one email at a time from an array and posts an adaptive card to them. Problem is, there is dependency of previous user to submit his/her response before the next user can receive this card. How do we remove this dependency? I have a group of 100 people, where this adaptive card must be triggered to each one at the same time. Creating 100 parallel branches does not make sense. Kindly advise, Thanks, Ashish
Thanks Tomasz for a nice video. Actually you can do this simply by going to the settings of "For each loop" and just switch on "Concurency Control" which will do the approvals parallel instead of sequental. there is also a slicer in which you can choose how many iterations of pararelism you want, by default its 20 so it means it will send 20 approvals simulatenously in parallel.
Oh, although I know about this setting I never thought it will generate approvals simultaneously 😲
Thanks for letting me know!
But this will be only limited to 50 parallel runs is there any option to increase the parallel run
Wow, that was the best solution, pretty simple. I have a long list of users, and I need to have some feedback from them, now adaptive cards are sent in parallel and waiting for each. Thanks to you and Tomasz, great article and reply.
This Comment saved me so much Headache. Thank you so much. For anyone else reading, click the 3 dots at the top right of the "apply to each" or "for each loop" , click settings, and then toggle the "Concurrency Control" setting ON.
Thank you Tomasz. I really liked this approach and will probably adopt it for one of my customers.
Hey, good luck and let me know please how it went :)
Hello Tomasz, really like the solution oriented approach. Normally hear the answer "no, it's not supported". We work mostly with Logic Apps and have exactly a similar issue however we have a problem to cancel pending approval requests after the first approver rejects the request. Our consensus is a bit similar to Liberum Veto, however request could be rejected before the minimum number of required approvers meet the consensus (e.g. requires two approvals from 5 owners to meet consensus and process the request).
PS of course we have an underlying database we only struggle to inform other approvers that approval is not required anymore and cancel the pending approval requests.
Any hints?
Great job, Thanks!
Hi, Grzegorz have a look at new release of Adaptive Cards functionality called "Universal Actions": docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/universal-actions-for-adaptive-cards/overview.
That is definitely what will help you, however as of today you need to build a bot yourself, there's no mechanism yet present in Power Platform/ Logic Apps that could handle this for you.
Hey Thanks for this awesome video, I am now a subscriber. I was wondering if you could give me some pointer for my project, I am trying to send an approval adaptive card to 2 Teams users and have the card wait for the First to Respond then it moves to the next flow. I just need 1 of the 2 Team Members to approve. I tried various ways but it keeps having both to approve rathe than 1. Any help will be appreciated thanks!!
So try partially the pattern I proposed here. Create a loop where in each run you trigger child flow that creates Adaptive Card. You obviously need to have some database too. In there you will store information about how many responses you're waiting for. Each completed child flow will update number of completed responses by 1.
And then, for example, create another flow, triggered on change in that database. There you compare, if the number of responses is equal to the number of expected responses. If yes - continue to the logic. Otherwise, terminate.
@@TomaszPoszytek Thank you so much! I will give this a try, You are the only one on youtube that has attempted this. I have been googling and looking for videos all week. I will let you know how it goes!
Hi Tomasz, how can I replace CDS with SP lists and still get the same result?
+Marina Baričević i think you could try. For SP there are similar triggers so yes, you should be good to replace them.
Hi Tomasz,
could you help me with the below similar use case-
I have created a flow where it takes one email at a time from an array and posts an adaptive card to them. Problem is, there is dependency of previous user to submit his/her response before the next user can receive this card.
How do we remove this dependency? I have a group of 100 people, where this adaptive card must be triggered to each one at the same time. Creating 100 parallel branches does not make sense.
Kindly advise,
Thanks,
Ashish
Maybe try using child flows. So that you trigger 100 child flows and they handle delivery of AC?
I have same use case what can be done??
Hi what have done I have same use case Pls explain or we can connect on linkedin