void setExceptionHandler(Object template,String processOrfunctionURI,<optional>boolean isAsynchronous)
void setExceptionHandler(Object template,String processOrfunctionURI,<optional>boolean isAsynchronous)
Name | Type | Description |
---|---|---|
template | Object | The process template. |
processOrfunctionURI | String | The exception handler process or function URI. The ExceptionHandler function signature is void handlerFn(String taskName,Concept jobContext,Exception e) The ExceptionHandler process variables needs to have the following optional String properties to show details "taskName"=Task Name, "jobData"=Serialized Job Context Data XML, "taskException"=Serialized Exception XML The exception handler process must have default start event without any associated SimpleEvent or TimeEvent |
isAsynchronous | boolean | <optional>true if the exception handler is invoked asynchronously else false, default is true. This parameter is not used for rulefunction handler and it is executed synchronously |
Type | Description |
---|---|
void |