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:
Field Name
Action
Name
Specify a suitable name for the variable. For example, TextVariable1, AttachmentVariable1.
Variable ID
Specify a unique ID for the variable. This value must be numeric.
Variable Type
Specify whether the variable is an input parameter, output parameter, or a local variable.
For more information, see Process-variables-and-data-types.
Description
Provide a description that clearly indicates the purpose of this variable.
Data Type
From the list displayed, select Attachment or Text based on the data type for which you want to create the list.
List
Select the List toggle key
to 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:
Field
Action
Label
Enter a label for the process.
Description
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.
- Click Save.
Related topics
Defining-the-application-business-logic-through-processes