Versions Compared

Key

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

Beschreibung

Dieser ActionHandler überträgt Variablen vom Hauptprozess in den Unterprozess. Dies bedeutet, dass die Variablen während des Modellierungsprozesses nicht einzeln definiert/an die Prozesszustandsaktivität übergeben werden müssen.

Der Handler ist in die erste Aktivität im Unterprozess integriert.

...

Description

This ActionHandler transfers variables from the main process to the sub-process. This means that the variables do not need to be defined/passed to the process-state activity one by one during the modeling process.

The handler is built-in on the first activity in the sub-process.

...

Class

Code Block
com.dooris.bpm.actionhandler.InheritProcessVariableHandler

Parameter

Info

None

Example:

We have a simple use case to explain this actionhandler. In order to use this actionhandler, a main and a subprocess is necessary. We have following process instances:

...

We implement the actionhandler on the Department Variable via Inheritance task.

...

...

Furthermore, we attached one smartform for the main process which contains variables employeename and department. Another smartform with a field which has department as a process variables.

Info

The relation is possible only if the variables from the two smartforms are identical.

Before starting the process instance, name of the employee and the department information is filled out.

...

After starting the process instance, the department variable is set to 'Marketing'.

...

When the First Task is completed, the process will continue with the sub-process:

...

When the sub-process is evoked, you can see that the variable department from the second smartform attached to the sub-process is also set to 'Marketing'.

...