Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Softlinks provide a flexible way to integrate additional processes within a main process without the need for strict sequential execution. They offer a dynamic approach to process modeling, allowing for greater adaptability and scalability.

Softlinks are established through a process variable contained within the softlink, referencing the main process's ID. This dynamic linking enables runtime determination of process relationships.

Softlinks can be created using either custom JavaScript functions or built-in ActionHandlers, offering flexibility in implementation based on specific requirements and expertise.

...

...

...

In this example, we will set process variables via an Excel file, and those matching the softlink suffix will be used to start new instances.

...

Here you can see the configuration of the CreateSoftlinkVariablesFromXLSX Handler:

...

Parameter

Description

Event name

Specifies the name of the event, which in this case it to create variables.

docName

Specifies the name of the document of XLS softlink.

softLinkSuffix

Specifies which variables are to be assigned to the individual softlinks.

softLinkCount

Specifies the row count for the soflinks.

...

softlinks.

The following screenshot shows the configuration of the StartSoftlinksFromProcessVariablesHandler:

...

Parameter

Description

Softlink process name

Specifies the name of the process which should be started by a softlink.

Include process variables by suffix

Specifies a suffix that will determine which process variables of the main process are to be included in the softlink started instances.

Amount to start

Specifies the amount of instances that are to be started by softlinks.

Softlink suffix

Specifies which variables are to be assigned to the individual softlinks (in this case is email).


The Excel file that contains data to be set as process variables in the process instance is as follows.

...

...

If our example is published, you can start a new process instance.

...

Screenshot 2024-06-05 093039.pngImage RemovedUpload the Excel file from above.

...

After adding the file, the instance is ready to be started.

...

The tasks associated with the instance should must be completed as well.

...

After completing the 'Testing Case' task, the other two softlink instances are automatically started by the Actionhandler as defined in the Excel file.

...

Process Variables These are the process variables displayed in the report of the main process instance:

...

Process Variables displayed in the report of the first softlink process instance

...

Process Variables displayed on the report of the second softlink process instance

...