How to send an email from the "On Error" panel in a project

View some of the Frequently Asked Questions to our support staff. Included are some tips and tricks making this forum ideal for users getting started with GoAnywhere MFT. Note: Users can reply to existing topics but only our support staff can add new topics to this forum.
1 post Page 1 of 1

Support_Hans

Support Specialist
Posts: 6
Joined: Mon Jul 22, 2019 11:32 am

Post by Support_Hans » Fri Aug 02, 2019 2:14 pm
This document outlines the steps to send an email from a raised error. While it is not possible to configure tasks to perform from the On Error panel, it is possible to call a module where an email can be sent.


First, create a new module (Project > Module) and give it a unique name.

Next, create a Send Email task (Email & SMS > Send Email) within this module.

Finally, under the specified task to check for errors, select the "call:[module]" option within the "On Error" panel, where [module] will be changed to the name of the module containing the Send Email task.


If you want a simple test to see if it works, you can use a "Raise Error" task (Job Control > Raise Error) and still use the On Error panel to route to the module where you can send an email.
After executing, you can see in the Job Log that there is a [9001 - Raise Error] log that will route the control to the other module, which will then send the email.
1 post Page 1 of 1