Hi,all.
If yes, how can I send a Teams message only once?
Currently, Teams messages are sent twice.
Thank you in advance.
Thank you for your reply.
There were two files matching the conditions in one folder, so I moved one file and the problem was resolved.
Thank you for your help.
If there are two Teams messages posted, would it be caused by there are 2 files both matching your condition?
To check on this part, you may view your running history.
Alternatively in your If yes branch, you can add in a compose to display the File's ID or identifier. In this way, you may confirm how many files matched to your condition.
Hi, @v-yetonggu-msft
Have you had time to look into this?
Please let me know if you need more information concerning this matter.
Hi, @v-yetonggu-msft
Thank you for your reply.
The flow is below.
1)Trigger the flow manually
2)Get file (properties only) ※sharepoint
3)Initialize variables
Name:List
kinds:string
value:
<table border=”1″>
<tr bgcolor =”#999999″>
<th valign = “middle” align=”center”>Seat type</th>
<th valign = “middle” align=”center”>No.</th>
<th valign = “middle” align=”center”>manager</th>
<th valign = “middle” align=”center”>Project name</th>
<th valign = “middle” align=”center”>Contract line name</th>
</tr>
4)List rows that exist in a table
5)Apply to each
conditions:Sheet type is equal to, etc.
if yes,add to string variable
Name:List
value:
<tr>
<td>Seat type</td>
<td>No.</td>
<td>manager</td>
<td>Project name</td>
<td>Contract line name</td>
</tr>
6)add to string variable 3
Name:List
value:</table>
7)Apply to each 3
conditions 2
Sharepoint updater email address is equal:My email address
if yes,Post a message in a chat or channel
Thank you in advance.
Hi @Patricia11 ,
Could you show me the details of the flow, such as the content of the first Apply to each?
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492