
Exception Handling in JD Edwards Orchestrator: Building Smarter, More Resilient Automations
Orchestrations have become an important part of automating JD Edwards EnterpriseOne business processes and connecting EnterpriseOne with other systems. But successful orchestration design isn’t just about what happens when everything goes right. Exception handling is a fundamental part of orchestration construction, and designing for errors can be just as important as designing the orchestration itself.
EnterpriseOne Orchestrator included exception-handling capabilities prior to Release 26.2. With Release 26.2, that framework has been enhanced to help orchestrations respond more intelligently and quickly by making actionable error information available to subsequent steps.
Building Exception Handling into the Process
Exception Handling can be configured at the individual component level, allowing designers to determine the appropriate response when an error occurs.
Two primary options are available:
- Abort – Stop the orchestration from continuing.
- Continue – Allow the orchestration to continue and, when appropriate, initiate an error-handling process.
When Continue is selected, the process can invoke another orchestration, send a notification, or continue without an additional error-handling process. User-defined error text can also provide additional context in the orchestration response.
Not every exception requires the same response. The goal is to anticipate potential errors during orchestration construction and build the appropriate response directly into the process.
What’s Enhanced in Release 26.2?
Release 26.2 adds an important capability to the existing exception-handling framework: error information from a failed orchestration step can be passed into an orchestration variable and made available to subsequent steps.
Previously, successful orchestration steps could pass a payload of data for subsequent steps to consume, but comparable error information from failed steps wasn’t available in the same way.
With the Error Response Variable, the exception message can now be mapped into subsequent components, including rules, notifications, and custom step scripting. This gives the orchestration actionable information it can use to determine a more intelligent response. For example, if an orchestration step calling an external REST API fails, the error response can be passed into a variable and used by a subsequent rule to direct the orchestration down an alternate path. Similarly, if a Form Request encounters an EnterpriseOne application error, the exception information can be passed into a notification and sent to the appropriate recipient for corrective action.
For notifications, the exception variable can be placed directly into the subject line or message body, providing meaningful information about the error and helping users respond more quickly.
Error Handling Is Part of Good Orchestration Design
A well-designed orchestration should define both the successful path and how exceptions will be handled along the way. Should an error stop the process? Can it safely continue? Should another orchestration be invoked or someone be notified? Can the exception information determine the next action?
Release 26.2 provides more actionable information to help answer those questions intelligently.
As organizations expand their use of Orchestrator for EnterpriseOne automation and interoperability, exception handling should be treated as a core component of orchestration design, not simply a response to failure.
Build Better Orchestrations with iLearnERP
iLearnERP provides JD Edwards Orchestrator education designed to help users move beyond individual features and understand how to apply Orchestrator to real business processes.
We are excited to have our very own Todd Nelson presenting an educational session at the upcoming INFOCUS conference in Denver specifically on Exception Handling and we would love to see you there. His session will be held Wednesday, September 23rd at 9:15pm.
Drop us a line at info@ilearnerp.com for more information.