Hi,
I'm trying to create a filter for "noreply" email addresses in my Out of Office reply flow.
I created a Condition with the following expression:
@or(not(contains(triggerBody()?['From'], 'noreply')),not(contains(triggerBody()?['From'], 'donotreply')),not(contains(triggerBody()?['From'], 'no-reply')))
However, when I test it and a new email arrives in the Inbox this step just keeps running until it times-out.
You can see it in context here:
Hi @nhafala,
I tested it on my side using the expression you provided, Flow is executed as expected, and your expression is correct.
Could you provide more details about your needs?
Although I found that the expression you provided is correct after testing on my side, I doubt it if it can meet your expectations.
Because From field contains only the email address of the sender, there is no other information that can be used.
Best Regards,
Barry
I find this flow a little too complex to describe. I exported the flow as a json. I tried to export as a zip file but it was impossible.
Please have a look here: https://gofile.io/?c=0F0Zaw
I also took a screenshot of the flow. Here it is:
Hi @nhafala,
I want to know which step of your Flow is keep running.
The action such as Condition will only judge whether it is consistent according to the conditions. There is no behavior similar to the request to the server. It seems that the situation you describe will not appear.
And when testing on my side, the formulas you provide are correct, at least the syntax is no problem.
Best Regards,
Barry
Thank you for your reply.
I run a test, this is what I got:
The condition that fails is the one that has this expression:
@and ( greaterorequals(triggerBody()?['DateTimeReceived'], items('Apply_to_each')?['start']), lessorequals(triggerBody()?['DateTimeReceived'],items('Apply_to_each')?['end']) )
This is expression is meant to check which events are active at any given moment. It used to work without any problems, but it suddenly stopped working when I added more things to the flow below it.
These are all the details I can provide.
Hi @nhafala,
I looked at the .json file from the link you provided, noting that the Expression configured in Compose 5 is the following:
@or(replace(outputs('Compose_4'),'January','Januar'),replace(outputs('Compose_4'),'February','Februar'),replace(outputs('Compose_4'),'March','März'),replace(outputs('Compose_4'),'May','Mai'),replace(outputs('Compose_4'),'June','Juni'),replace(outputs('Compose_4'),'July','Juli'),replace(outputs('Compose_4'),'October','Oktober'),replace(outputs('Compose_4'),'December','Dezember'))
Consistent with the error message display, the parameters you configure in the or() function are not boolean types, they are all of type String, so an error is generated.
Please make sure that the configured functions are configured as required.
For the use of Expression, please refer to the Online doc:
https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference
Best Regards,
Barry
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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
24 | |
18 | |
16 | |
13 |
User | Count |
---|---|
137 | |
44 | |
32 | |
32 | |
29 |