Good day to all, appreciate your help on below issue:
I have this flow created that is triggered when a new email arrives in a shared mailbox from specific email addresses
The flow captures a specific text string from the email subject and checks whether it exists in a sharepoint list
If it does, then it captures the email address from the sharepoint list and forwards the initial email to the address from SP
The filter query has been tested and works properly with the expression used as per 'Format Data by examples' option
, however the last step below is greyed out and despite the flow appears to be executed successfully, there is no dispatch of the email
Here below, the output from a test run of the flow. The highlighted part shows that indeed the correct text string has been captured, but the condition seems not to run
Any recommendation/suggestion on how to resolve would be greatly appreciated.
Best regards, Than
Thanks @Expiscornovus ! Your suggestion was eye-opening to fix the threshold in 'get items'. Once done, it worked
Hi @apa006,
With your current setup the apply to each will loop through each item it found in the value property.
If the get items returns no value items, the apply to each will not have anything to loop through and it will skip all actions within the apply to each action. It looks like that happened in this instance.
You can double check this by clicking on the Click to download link in the Outputs section.
If the value property returns '[]' it means it has not found any matching items.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional