Hi,
I have a global error handler that send me mail whenever thw flow fails. In the global handler I have just an send SMTP mail, I get this error every time I try to start my flow.
How can I solve this?

Check your global error handler arguments… something might be missing
When the globalhandler is called/invoked, is the argument assigned a value?
I’ve always used the globalhandler without having to call it explicitly.
It’s called by itself when there’s an error(?), isn’t it?
So I wouldn’t know how or where I should call it so that when an error is generated it calls it
Try readding Global Exception Handler by deleting existing one and restarting the studio.
Thanks,
Ashok ![]()
It didn’t work.
I deleted the old one, restarted studio and added a new one.
Any other suggest?
Can you share your globalhanler xaml?
Here it is.
If I debug the project while standing in the GlobalHandler main it won’t work meanwhile running project while standing in the main works
ItasErrore.zip (54,8 KB)
OKay, so that is the issue. You see the debug is by default debug file which runs the current file or workflow you are “standing” at. Like you say, when you are at main it works as any error in main is handled in the global handler and the global handler is called by default while supplying values to the arguments. When you are “standing” on the global handler file itself, debug would run into error as there is really no value for the errorInfo (which is a required argument), as you can see on the arguments the default is blank
Ok,
Thank you when i try the “Run file”, “run” or publish and run from the assistant it spams mail until I manually stop the workflow or it repeat multiple time the global handler’s actions
If what you have is similar to the redacted version you sent me where you have removed the choosing of behavior then that is possible that the handler will just continuously sent the email as nothing was done to fix/handle the error or terminate after retries as with the standard global handler
It didn’t work.
It continues spam email messages, even with the default globalHandler.
Can your share your globalhandler file? You should have some condition to stop the retry


