Creating lists from processes
As a business analyst, you can create a list of the attachment and text data types from a process. To create a list, in the process, you must use the Create List element, and specify the attachments and text values that you want to be displayed in the list.
For example, you create a process that notifies a manager when a leave request is assigned to the manager for approval. From the process, you want to send a list of attachments related to the leave request of an employee. When the process is run, the manager is notified and also receives the attachments.
To create a list of attachment or text from a process
- Log in to BMC Helix Innovation Studio and navigate to the Workspace tab.
- Select the application in which you want to create a process or modify an existing process.
Perform any of the following tasks:
If you want to create a new process and add an attachment parameter to the process, click New > Processes.
If you want to add an attachment parameter to an existing process, select the process.
In the Properties section of a new process or an existing process, click Add/Remove Variables.
In the Add/Remove Variables window, click Add Variable, and complete the fields as described in the following table:
Specify a suitable name for the variable. For example, TextVariable1, AttachmentVariable1.
Specify a unique ID for the variable. This value must be numeric.
Specify whether the variable is an input parameter, output parameter, or a local variable.
For more information, see Process variables and data types.
Provide a description that clearly indicates the purpose of this variable.
From the list displayed, select Attachment or Text based on the data type for which you want to create the list.
Select the List toggle keyto add a list to the process.
From the palette, drag the Create List element on the canvas, and complete the fields as described in the following table:
Enter a label for the process.
Enter a meaningful description that explains the process you are creating.
(Optional) Source List
Enter a process variable of the type list.
Item to Add
Enter the item that you want to add to this list.
For example, output of another element.
If you specify a the Source List field, the result of the Create List action is the specified list and the items you have added.
The Create List element does not update the source list after the action is executed. The output of this action contains the new list that you can assign to any process element.