Description

The ListGen Generator generates items in a provided list in sequential or random order. 


Parameters

The following parameters may be configured for the ListGen Generator. Items with an asterisk* are required. 

  • waitAmount* - Defines the number of iterations the Generator should wait before moving to the next item in the list.

  • random* - Randomizes the list when True. Defaults to False.

  • seed - Defines an optional seed for randomization. Using the seed will ensure that the same random data is generated each time data is generated.

  • setLoop* - setLoop give you the ability to OVERRIDE the loop count at the Scenario Level and ONLY produce the number of rows that are defined in this list.

  • iterate - Based on the Boolean value, determines when to generate the next value. If the value is True, it generates the next value. If the value is False, it just waits.

  • list - Allows you to enter items into the list that you want to be generated. Add one item on each line in the list.


Video Training

The following video can be used to see a quick tutorial on how to use the ListGen Generator: 



How to use the ListGen Generator

To use the ListGen Generator, you will need to complete these steps: 

  1. Create an Attribute for a selected Domain
  2. Assign the ListGen Generator to the Attribute
  3. Add Values and/or References to the list Parameter
  4. Save the Generator Configuration


Step 1: Create an Attribute for a selected Domain in your Project

You will need to create an Attribute and assign the ListGen Generator to the Attribute. Alternatively, you can simply assign the Generator if the Attribute already exists.

  • Click on the Add Attribute button in the left panel of the Domain Dashboard.



  • Enter a Name for the Attribute and then click the Save button.


Step 2: Assign the ListGen Generator to the Attribute

You will be taken to the Attribute Dashboard after creating the new Attribute. If possible, a Generator will be automatically assigned to the new Attribute and will need to be removed to assign the ListGen Generator.


This information can be found at the bottom of the Attribute Dashboard. To reassign the appropriate Generator, complete the following steps: 

  • Click on the Remove Generator button.



  • Click Yes in the confirmation message to remove the currently assigned Generator.

  • Select the ListGen Generator in the Add a Generator dialog window by clicking on the Plus +.



  • You will now be taken to the Attribute Dashboard and can configure the parameters.

  • All required parameters will be assigned a default value, which may be changed if needed. Descriptions can be found at the top of this article.


Step 3: Add Values and/or References to the list Parameter

In the bottom text input of the ListGen Generator, input the values and/or add references to Domain Attributes, Attribute Generators, Global Variables, Resources, and Organization Variables


3a: Adding a Value to the List Parameter

  • Click on the input field and type in the value.


  • Then press your Enter/Return Key or click the + Add button to the right to submit the value.


  • The value will appear to to the right of the parameter name.


3b: Adding a Reference to the List Parameter

  • Double click on the input field to add a reference.


  • Click on a tab to view available items to reference. You may reference Domain Attributes, Attribute Generators, Global Variables, Resources, and Organization Variables. 

  • Click on the Plus + to add a reference.


  • The reference will appear to to the right of the parameter name.


 

Step 4: Save the Generator Configuration

  • Click on the Save Generator button after you have added all the desired values and/or references and made all other required configuration changes.

  • The preview data for this example will appear as shown below: