Collapsed subprocess - bluesoft-rnd/aperte-workflow-core GitHub Wiki

Its a process that hides its flow details. The collapsed subprocess object has a marker that distinguishes it as a subprocess, rather than a task. The marker is a small square with a plus sign inside. Modeler alows to map variables from super proces to subprocess and vice versa.

General rules

  • Input/Output map must be defined in attributes in "json" style.
  • Subprocess references must be set to the name of process. Set in "name" atribute.

Attributes

Attribute name Type Required Default value Description
Name String True The name of this element.
Description String False The additional description for this element.
Input/Output maps String True Mapping variables from super process to subprocess and vice versa, in json style. Template:. input: {super variable:sub variable}, output{sub variable: super variable}
Subprocess references String True Name of proces, to call.

Aperte Modeler examples

Working with transition conditions

  1. Open the Attributes palette on the right side of editor.
  2. Fill subprocess references, with name of process (not diagram).
  3. Under the More attributes section, fill input/output maps with json maping style i.e. If you are interested in maping initiator: {initiator:initiator}.

frame|align=center|alt=Entering maping