Another great video and innovative use for Power automate Damian well done. There are some great tips in here not just for use in this solution but plenty of techniques to apply elsewhere.
Thanks Phil. Always appreciate the feedback. Timeouts, run after, pieters method, select/html table to name a few 😉 I think adaptive cards are often overlooked. Might have to do another video on building one from scratch at some point too. Thanks again.
Hi Damien am facing issue while importing the solution from github (Error : Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown. )
Around 5mins, you show Compose for "If No". My interface shows Compose with a mandatory Inputs field. What did you add within Inputs, was it a specific Expression? Or has the option changed since you first created the video?
Ahhh, just put a text string in. With the terminate in one side, the rest of the flow will play out beneath the branch. It’s easier to build outside a branch if that suits your requirements.
Hi. First of all, great video. I have encountered one problem. Apply to each will not work with COMPOSE array, unless I change it to variable. I get error, what can be the issue? Thanks in advance.
@@DamoBird365 Hi. Thank you for coming back - mistake is the following: The request failed. Error code: 'MissingOrInvalidBotRecipient'. Error Message: 'The specified Teams flowbot recipient is missing or invalid.'. But event when I put Compose Array to Recipient - Flow doesnt automatically start Apply to Each. Maybe you have a post about it, and I can post screenshots? :) On the other hand, I watched your videos about arrays (Basics) they are good for people like me who have 0 IT education. Thank you :)
Around 6:08 you refer to the ListOfEmails. When running the test flow it is returning an array:[ "organiser", "attendee", " " ] However, this blank entry breaks the test flow later under ApplyToEach and the Post_adaptive_card... The error message: The request failed. Error code: 'GraphLookUpRequestFailedError'. Error Message: 'User lookup request to Graph failed lookup for user identifier: ''.'. Do you know how I might get around this problem?
Filter array where item() is not equal to nothing ie leave it empty and then apply the apply to each to the filter array output. How did you end up with empty attendees?
@@DamoBird365 thanks. I've no idea why it returned an empty attendee. I'll keep debugging and see how i go. I did have to rebuild the adaptive card as the template presented is no longer available, so your video gives some ideas but I had to amend a few things to get it working and I may have created errors along the way. I do have the card appearing in teams, but can't pick up the results yet.
@@DamoBird365 it does appear that the Split function creates the blank row because it sees the last ; after the last responder email and does what it's supposed to do. So I need to see how to stop Split creating the blank entry in the array.
This is a nested expression that would work, it checks to make sure your string ends in ; and then removes it or splits on the original string. if(equals(add(lastIndexOf(outputs('Compose'),';'),1),length(outputs('Compose'))),split(substring(outputs('Compose'),0,lastIndexOf(outputs('Compose'),';')),';'),split(outputs('Compose'),';'))
I’ve not tried this before. It doesn’t look like you can do this directly but you could ask the user for a url and then use get file content in your flow?