I am trying to use Get messages action in my flow inside MS Teams Power Automate plugin.
Output of this action seems faulty. Besides actual messages that are in channel, the action returns a lot of blank messages (according to output they are system messages) and also other kind of blank messages (which are once deleted messages). Also it does not return all actual messages but only some of them with no clear reason (all the messages are simple text strings)
Does anybody else have similar problems? Are there any updates available for this action?
Solved! Go to Solution.
Hi @li88li ,
In this 'Get message' action, there are several possibilities for the output to be empty:
1. Deleted message.
2. Unsupported content, such as 'Post message in a chat or channel', when retrieved by get message again, the display is empty.
I suggest you limit the message content to text and filter messages with empty content.
Please try the following workaround If it helps.
Edit the Filter array in advanced mode.
@and(and(not(equals(item()?['body/content'], '')),equals(item()?['body/contentType'], 'text')),equals(item()?['body/contentType'], 'text'))
Best Regards,
Zhi Chen
Hi @li88li ,
Could you please show more about your flow?
Where is it output and an error occurs?
I have test on my side, when I choose 'Message body content' as the output, it displays fine.
Best Regards,
Zhi Chen
Hi,
I followed Reza's tutorial on weekly summary of Teams conversations step by step. My flow looks like:
Since the email forwarding doesn't work in my case I used Post message in final step. Therefore I can also loose list group members, select 1 and join 1 as well. But the outcome is the same even if I do(below) - a lot of blank messages in the output.
Hi @li88li ,
In this 'Get message' action, there are several possibilities for the output to be empty:
1. Deleted message.
2. Unsupported content, such as 'Post message in a chat or channel', when retrieved by get message again, the display is empty.
I suggest you limit the message content to text and filter messages with empty content.
Please try the following workaround If it helps.
Edit the Filter array in advanced mode.
@and(and(not(equals(item()?['body/content'], '')),equals(item()?['body/contentType'], 'text')),equals(item()?['body/contentType'], 'text'))
Best Regards,
Zhi Chen
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
5 | |
3 | |
3 | |
2 | |
2 |
User | Count |
---|---|
15 | |
10 | |
8 | |
7 | |
6 |