cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenjaminJarry
Helper III
Helper III

Post a choice as the Flow BOT seems not to stop

My need is : 

- I got a task created in a Planner

- I want to ask a list of recipients to tell me if they take care of the task 

- When 1 people click "I'll take it", I'll assign him/her to the task and tell people that the task has been taken

 

So my Flow

 

- When a task is created

- List lines in excel table

- Apply to each (value)

        Post a choice of option as a bot flow to a user

                Here I use only one choice "I take it"

        Condition "Selected Option is equal to "I take it"

        If YES 

              Add recipient to the task

              Post as a bot flow a message to user

        if NO

 

 

But the flow seems not to stop even if somebody click "I take it"

 

any hint ? 

31 REPLIES 31

Hi again!

Two suggestions

1.- Remove temporarily the expression from your 'Create an approval' and add these 3 email addreses by hand. Rexecute the flow

2.- If the problem persists, then you would need to talk with your IT guys. If the Approval Request is sent to everyone and is executed properly, then there must be something really simple we are missing

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



shouldn't I use a apply to each loop only for sending post in teams, using the excel list values ? 

 

BenjaminJarry
Helper III
Helper III

@joelfig It worked this way ! 

 

I replace the Post as Flow my own adaptiv card with Apply to each / Post as flow my own adaptiv card using results from Excel table

 

flow9global.png

 

My point is now that others Approval recipient don't get the information when somebody else click first on the approval

Is that possible ? 

Hi!

Sorry for the misunderstanding... for some reason I thought the error was thrown by the 'Create an Approval'... but as I see now the error was thrown from 'Post an adaptive card...', right?

So, I guess you find the solution! Congrats!

As far as I can see (the image is so long I cannot see the details) you are sending 'Post an adaptive card' inside an Apply to Each, and outside the Apply to Each you added 'Wait for response'. If so, I think everybody should get its adaptive card updated whenever one of them replies, but I must confess I haven't tested multiperson Teams based Approvals. My Teams based Approvals are sent to a channel, so I haven't faced the scenario you implemented yet.

Please let us know your progress after testing! And thanx for sharing!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



If you have any solution to mention a channel into a adaptiv card, this would be a nice solution

 

otherwise, I have to post it to identified people as individual message, but face the fact that people are not informed who click first (they only get the information - not so visible - that somebody clicked Approve first)

Hi!

I believe you are using "Post your own adaptive card as the flow bot to a user", right?

If so, try with "Post your own adaptive card as the flow bot to a channel" instead.

Hope his helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



but this one doesn't allow mention ? yes ? (i mean using @ channel or @ team)

Hi!

I don't think you can mention inside an adaptive card, but not 100% sure since I have never tried it

Let's hope somebody else can point us to the right direction

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Maybe I can build the message in the adaptiv card to mention all people I get from the excel list in the channel where they all belong, and then use the Approvals to get the "Who takes the task ?" responder's name

 

 

But I don't know how to append the text to add <at>xxx@xxx.com</at> for every item in the excel lines result...

Hi!

IN my case, all members of the destination channel are potential Approvers, but as far as I see, this is not your case, only a subset of them, and the subset is not always the same, but dependant on the approval, right?

So, there is an action called 'Create a channel' but according to the official doc there is no way from Power Automate to add users 😞

 

The first option you tried, the 'Post an adaptive card as the Flow bot to a user' inside the 'Apply to Each' ... what was the limitation that lead you to discard it?

 

Now, you current question...

concat('<at>',join(variables('myOutputEmails'),'</at>
<at>'),'</at>')

However, I am pessimistic this structure will be properly displayed inside an Adaptive card

Hope this helps

 

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



For now I didn't discard it 😉

 

I thought this would have been the solution but as every user don't get any notification when somebody click on the Approve, this is not convenient...

 

I assume that I have to identify people to notify them as it's not possible to mention a channel into the adaptiv card. Do you know a way to do it ? would be easier, 'cause I already have dedicated channels for people 

 

 

 

@BenjaminJarry 

Did you finally overcome your challenge? do you need additional help?

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,639)