Description

When a Domain is added to a G-Case, it references the Domain's loopCount variable by default. Please note that this works the same for G-Questionaire cases.


For example, if an Address Domain is added to a case, it will have the same value as shown below unless another value is specified within the configuration:



In This Article


Access from the G-Cases Management Dashboard

Use the Update Loop Count icon to make changes to the loop count of a Domain.



Access from the G-Questionnaire Dashboard

Use the Edit (Pencil) icon to make changes to the loop count of a Domain.


How Can Loop Counts be Changed or Randomized?

Users can randomize the loop count value for one or more Domains with one of the following form options

  • Constant Value
  • Randomly Generated Value within a Min and Max Range
  • Increasing from a Min to Max Value
  • Decreasing from a Max to Min Value



Users can also perform a Double Click in the Loop Count field to reference something else (e.g., Organization Variable). 



Example 1 - Constant Value

Generate five users every time data is generated for a User Domain: 

  • Select the Constant loop type.
  • Enter "5" for the loop count. 



Example 2 - Random Value

Generate a random number of users from 10 to 100:

  • Select the Random loop type.
  • Enter "10" for the min range value.
  • Enter "100" for the max range value.



Example 3 - Increasing Value

User data needs to be generated in increasing order from 10 to 25.

  • Select the Increasing loop type.
  • Enter "10" for the min range value.
  • Enter "25" for the max range value.



Example 4 - Decreasing Value

User data needs to be generated in decreasing order from 50 to 10.

  • Select the Decreasing loop type.
  • Enter "50" for the min range value.
  • Enter "10" for the max range value.