The attached flow was working successfully until I attempted to add Approver Comments in Update Item (see attached). This action did in fact add the Approvers Comments to the SharePoint List, however, in the process it failed to Create Event in Outlook Calendar and send an email back to the requestor. Any help would be greatly appreciated!
Hi @grantjenkins ,
I apologize it's taken me a few days to get back and if I'm not understanding your questions fully. I'm still new to building flows. There is only one approver, so it would be this approvers comments that need to be updated in the Share Point List. As you can see from the attached screenshots, the approver puts his comments when the Microsoft Flow email is received and submits. Once submitted the SharePoint List gets updated, however, Outlook is not getting updated and the requestor does not receive an email.
It's due to the fact that when you added Responses Comments it added your Update item action into an Apply to each since there could be multiple responses. This will result in your List item being updated as many times as there are responses.
The actual error you are getting is because you are trying to access the Update item action outside the loop, so it doesn't have the right context.
What output did you actually want for the comments? What would it look like if you had multiple approver comments? Something like that below, or just all the comments without the approvers?
Example 1:
Approver 1: My comments
Approver 2: Looks great to me
Example 2:
My comments
Looks great to me
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.