Highlighted

Throwing an Exception in a Process

Avatar

Guest

10-12-2008

Hi



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

Replies

Highlighted

yodadobe

11-12-2008

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