How to don't throw Ens.Alert for messages from a Business Operation
I have a rule to throw a message when there is an error. I want to prevent send the email if the origin of the error is the API to send the email
This is my rule
Now, If there is any error in any process, it works, but if there is an error in MyProduct.BO.SendEmail it is trying to send the error again, and it is a infinite loop.
Is there any way to check what is the origin and don't process if the origin is MyProduct.BO.SendEmail?
I've tried to set a condition in when node but it doesn't catch any property of Ens.AlertRequest
It doesn't work. I'm sure I'm not using the command correctly, so I'm asking for help.
What is the correct way to throw the message but not for MyProduct.BO.SendEmail?