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:
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.
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.
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.
I looked at the .json file from the link you provided, noting that the Expression configured in Compose 5 is the following:
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:
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.