Versions Compared

Key

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

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 rewrittenoverwritten.

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

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

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

Code Block
com.dooris.bpm.actionhandler.WriteBackProcessVariableHandler

Parameter

Parameter name

Default value

Description

Valid examples

excludedVariables

OPTIONAL

Specific

Specifies the variables that should be

rewritten can be defined here

excluded and not be passed from the sub-process to the main-process.

variable1,variable2,variable3;

includedVariables

OPTIONAL

Specific

Specifies the variables that should

NOT be rewritten in

be included and be passed from the sub-process to the main-process

can be defined here

. All other variables

, which are not defined,

will be

rewritten

ignored.

variable1,variable2,variable3;