We are using standard services like Foundation/FileUtilServices and similar services in our workbench process and want to assign error thrown by FileUtilException to process variable, so that we can pass it to output whenever process fails.
Can you help provide inputs how we can achieve it.
AEM Forms on JBOSS
Are these answers useful? Help other community members by marking useful answers as accepted.
Call a set value on exception event and write the type of exception in a custom variable. You can append more detail like timestamp as well, the error stack trace can be checked in server logs further based on the time captured. Whenever the exception will occur your process will generate the output string.