I created a Main flow and a Global Handler.
When an error occurs, I want the Global Handler to send a mail with a variable from the Main flow.
For instance, I have three customers x - y - z, the robot loops through them and performs some actions.
Then an error occurs on customer y (y is stored in variable “varCustomer”).
Global handler needs to send a mail with the following text in body: "Error occured for " + varCustomer
Can anyone explain me how I pass the “varCustomer” variable from “Main” to “Global Handler”?
Thanks in advance for the help!