@ChrisMendoza I too thought so but I tried of doing it in one flow.
@syed_sme As Chris has already tried this why don't you create two flows and lets close the topic here.
The solution I gave I didn't realize it would go in Infinite loop.
Try 2 separate flows. I have experienced issues with When an item is created or modified trigger.
@syed_sme I will update you on this tomorrow, I acknowledge this is an issue.
Thanks @jinivthakkar,
I managed to replicate the flow as you instructed above and it works to a point.
The thread is created and in the channel as expected but the Update Item action is triggering the reply immediately afterwards. So, I moved the Update outside of the Condition branch but this made not difference.
I'm also seeing the following warning message....
Any ideas how to get round this?
Thanks in advance.
Syed
@syed_sme please follow below steps:
Add column in SharePoint list, MessageID which will be used to store message ID of the teams message
Flow is as follows:
In the condition I am checking the value of MessageID from list column
My Yes block, I update the item with the message id from post a message as this a new item and I store the message id so it can be used to reply to the original message when item is modified.
My No block, I pass the message ID from the item as it is existing item and it is being modified.
Output
Hope this helps.
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.