For a sub process or Call Activity fill in this field and all its sub instances will be named after the text you enter. It is also possible to isolate the sub instance from the main instance by stating a sub folder for all the content of the sub instance.
How to set the Sub instance settingsOpen the settings for the sub process/Call Activity, click on Sub instance settings and make the changes you wish:
Enter a text for the name of the sub instances. If you want to use form fields to set the name, you may have to make some settings on your form, see Name the sub instance with form field below.
Isolate the sub instance from the main instance by enabling Create sub folder, name the sub folder.
How can I name the sub instances
The sub instance name can be set to anything using these components:
Static string - Write a static string and every instance will be named that string - Note that it's hard to separate the instances if only using strings for the name
Form field - Use a form field to set the instance name, the syntax for fetching form fields are $[objectname].[fieldname]$, see example below
Variable - Use variables to set the instance name, i.e. $instance.createddate$
Concatenate - Use combinations of strings, form fields and variables, i.e. "Purchase request: $Request.requestName$", "$Requst.requestName$ $instance.createddate$", "$Request.requestName$ $Request.requestDate$"
NOTE: All sub instances will be named according to [Main instance name] - [Sub instance name]. If you state a specific sub instance name it will still have the main instance name followed by a hyphen before the sub instance name.
Read more about variables in the article Variables.
Example of using form field to set the name of the sub instances
Make sure you have the name of the data object from which you want to collect the form field data from.
- Get the field name of the field you wish to capture the text for the instance name from.
TIP: To make it easier to remember set your own name to the form field instead of using the default ones (i.e. Field8).
Set the sub instance setting to $[form template name].[field name]$
When to set the Sub instance settings
- If there is an Sub instance setting the instance is named according to that, else
- the instance is named exactly like the sub process task/Call Activity in the main process.
Use the sub instance settings when you want to control the name of the sub instance.
NOTE: Instance settings are also available for ordinary instances, read more in the article Instance settings.