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.
- 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.
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. |
- Open the Attributes palette on the right side of editor.
- Fill subprocess references, with name of process (not diagram).
- Under the More attributes section, fill input/output maps with json maping style i.e. If you are interested in maping initiator:
{initiator:initiator}
.
Entering maping