Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
import org.apache.commons.lang.exception.ExceptionUtils;
Throwable rootCause = ExceptionUtils.getRootCause(exception);
String exceptionMessage = null;
if(rootCause == null)
exceptionMessage = exception.getMessage();
else
exceptionMessage = rootCause.getMessage();

context.put("subprocess_code", "ERROR_IN_CHILD_FLOW");
context.put("subprocess_text", exceptionMessage);

Anchor
Process_Flow_

...

Call_Process_Flow
Process_Flow_Call_Process_

...

Flow
Process Flow Calling Another Process Flow

If the Process Flow is further calling a Transaction, you need to create a custom plugin using below JavaScript. After you have created a custom plugin, use it in the Process Flow.

...