Custom Error Message Without Step-wise Handling

Hi Team,

Can we set a custom error message in AutomationEdge without using step-wise error handling (e.g., Write to Log)?

Any suggestions or best practices?

Thanks!

Hi Ankit,

You can use the Try Catch plugin in AutomationEdge Process Studio to handle this.

In the Error Handling section of the Try Catch plugin, you can specify a custom error message field name that will hold the custom error message set for the respective step.

This allows you to capture and manage error messages centrally without having to use separate Write to Log steps for each action.

Worth separating two things: most Process Studio steps have their own custom error message property in the Error Handling tab, which is set on the step without adding a Write to Log action. The Try Catch plugin then gives you one place to read whichever message was raised. So if the goal is avoiding a log step after every action, wrap the relevant group of steps in a single Try Catch and let each step’s own message populate the variable it exposes. If you need the message to say which step failed, check whether the Try Catch variable includes the step name, or build the message from it.