Workflow Context Variables

Two workflow context variables are added in the workflow to handle errors.

  • CIM_errorCode: Refers to an error code.
  • CIM_errorDoc: Document that is used to trace errors. You can download this document from the Event Log screen.

These variables are populated by workflow engine when an error occurs while processing the workflow. The workflow designer can use these parameters to define flow or process error details. You can access these variables from any workflow activity as follows:

<Parameter direction="in" type="string" eval="variable" name="testerrorCode">CIM_errorCode</Parameter>
<Parameter direction="in" type="document" eval="variable" name="testerrorDoc">CIM_errorDoc</Parameter>