Skip to main content
Nintex Community Menu Bar
Solved

Nintex RPA: Global exception handler?

  • June 23, 2026
  • 1 reply
  • 35 views

Forum|alt.badge.img+4

I’m developing a relatively “complex” Kryon solution where a top-level wizard calls multiple embedded wizards and global functions, many of which themselves call nested embedded wizards.

It’d like to be able to “throw an exception” that will handle the error and gracefully terminate the solution.

Q: How can I achieve this in Kryon RPA?

UPDATE 6/24/26:

  • Basically, I’m looking for a Nintex RPA equivalent of “try/catch”.
  • Some Nintex ACs have an “Exception” clause.  I’m looking for something more general.
  • A potential (ugly!) workaround might be to set a global “error status code” variable, then manually check it everywhere :(

Best answer by pratheep

Nintex RPA does not currently have a general-purpose try/catch exception mechanism that allows you to throw an exception from a deeply nested wizard and automatically handle it higher up in the call stack.

A common approach is to centralize error handling in one or more Global Functions and call those whenever a failure condition is detected. This helps to keep error handling logic consistent.

The approach you suggested with the global status/error also works and is not necessarily ugly 🙂. It's a valid pattern for propagating error states through complex wizard hierarchies.

Depending on the scenario, you can also use the if else AC to detect failure conditions and terminate processing or redirect execution to the appropriate error handling path.

There is also a wizard level catch all called Wizard start/end actions & error handling, found at the end of the step list in the Advanced Command editor. It lets you set a default fallback for error events.

Embeded wizards have fallbacks too.

While there isn't currently a direct equivalent to a traditional try/catch block, the combination the above mentioned methods can be used to achieve similar behavior.

 

 

1 reply

pratheep
Nintex Employee
Forum|alt.badge.img+4
  • Nintex Employee
  • Answer
  • July 3, 2026

Nintex RPA does not currently have a general-purpose try/catch exception mechanism that allows you to throw an exception from a deeply nested wizard and automatically handle it higher up in the call stack.

A common approach is to centralize error handling in one or more Global Functions and call those whenever a failure condition is detected. This helps to keep error handling logic consistent.

The approach you suggested with the global status/error also works and is not necessarily ugly 🙂. It's a valid pattern for propagating error states through complex wizard hierarchies.

Depending on the scenario, you can also use the if else AC to detect failure conditions and terminate processing or redirect execution to the appropriate error handling path.

There is also a wizard level catch all called Wizard start/end actions & error handling, found at the end of the step list in the Advanced Command editor. It lets you set a default fallback for error events.

Embeded wizards have fallbacks too.

While there isn't currently a direct equivalent to a traditional try/catch block, the combination the above mentioned methods can be used to achieve similar behavior.