WriteBackProcessVariableHandler

Description

This handler can be used to pass process variables from a sub-process to the main process. Existing variables in the main process will be overwritten.

  • If no parameter is given, all of the process variables in the main process will be overwritten.

  • By specifying includedVariables, specific variables that should be overwritten can be defined.

  • By specifying excludedVariables, specific variables that should NOT be overwritten in the main process can be defined. All other variables, which are not defined, will be overwritten.

The ActionHandler is usually built-in on the last activity in the sub-process, but it may be used in the normal course of the sub-process (i.e. to write preliminary results in the main process).

Either none, only the parameter excludedVariables or only the parameter includedVariables can be used.

 


Class

com.dooris.bpm.actionhandler.WriteBackProcessVariableHandler

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

excludedVariables

OPTIONAL

 

 

Specifies the variables that should be excluded and not be passed from the sub-process to the main-process.

variable1,variable2,variable3;

includedVariables

OPTIONAL

 

Specifies the variables that should be included and be passed from the sub-process to the main-process. All other variables will be ignored.

variable1,variable2,variable3;