Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Description

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

com.dooris.bpm.actionhandler.InheritAttachedDocumentsHandler

Parameter

Parameter 

Default value

Description

Valid examples

upward

false

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.

  • No labels