Versions Compared

Key

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

...

Description

Dieser ActionHandler übernimmt Dokumente aus einem möglichen Super- oder Hauptprozess in den aktuellen (Subprozess). Alle Dokumente, die auf dieser Prozessinstanz erstellt wurden, werden kopiert. Dokumente zu Aufgaben oder Tätigkeiten werden nicht übertragen, da sie nur im Kontext der jeweiligen Tätigkeit oder Aufgabe relevant sein sollen. Ist der Parameter upward auf "true" gesetzt, werden die Belege aus dem aktuellen Prozess (Teilprozess) in den Hauptprozess übernommen. upward auf "true" gesetzt, werden die Belege aus dem aktuellen Prozess (Teilprozess) in den Hauptprozess übernommen.

...

This ActionHandler takes documents from a possible super or main process into the current one (sub-process). All documents that were attached to this process instance are copied.

Documents on tasks or activities are not transferred, since they should only be relevant in the context of the respective activity or task.

If the parameter upwards is set to true, the documents are transferred from the current process (sub-process) to the super or main process.

...

Class

Code Block
com.dooris.bpm.actionhandler.InheritAttachedDocumentsHandler

Parameter

Parameter 

Standardwert

Default value

Beschreibung

Description

Gültige Beispiele

Valid examples

upward

false

Gibt an, ob die angehängten Dokumente aus dem Hauptprozess abgerufen (false) oder an den Hauptprozess zurückgegeben werden sollen

This parameter specifies whether the attached documents should be fetched from the main process (false) or returned to the main process (true).

true

...

Example:

In order to use this actionhandler, you need to have two processes as a main and a subprocess. We have a main process which connects to the subprocess via the task ‘Subprocess Testing’.

...

Actionhandler is implemented in the task Subprocess for InheritedDocumentActionHandler:

...

When the main process is started, we uploaded a document to the instance.

...

After ‘First Task’ is completed, the process is going from main process to the subprocess.

The sub-process is started after completing the first task. You can see that the document that is attached to the main process is copied and is accessible from the sub-process.

...