Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Throwing an Exception in a Process


Former Community Member

Can anybody please tell me whether it is possible to throw an exception in a LiveCycle process to be caught by a calling application?

We have a relatively straightforward process whose main component is a generatePDFOutput step. Before this step, however, we want to do some basic checking on the XML that is being passed to the process, and to throw a error if the XML is invalid.

The process itself is being wrapped up as a web service, which is being called from an ASP.Net application the idea is that if there are any errors in the process we can simply throw the error and for it to be caught and dealt with in the calling ASP.Net application.

Many thanks

Geoff Olding
1 Reply


Former Community Member
Maybe just add an output variable that would indicate a failed call and reason. Your workflow would set that variable and end.