Generating a Unique ID
  • 30 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Generating a Unique ID

  • Dark
    Light

The Generate GUID step allows a user to create a unique ID String. The ID can be used as the default ID type for objects to point directly to those elements in a Flow or navigation links. 


Example

  1. In a Designer Project, click CREATE FLOW
  2. Attach a Generate Guid step to the Start step by navigating to the DATA > GENERATOR category in the Toolbox tab.

  3. Attach a Show Form step from the FAVORITE STEPS category to the Done path of the Generate Guid step.
  4. Select the Show Form step and click PICK OR CREATE FORM from the Properties panel to create a Form.
     
  5. Configure the Form to contain a Text Box component (IdtoShow) and a Button component (OK). Click Save and close the Form.
     
  6. On the Properties panel, click Unknown for the Id To Show field and select Select From Flow. Select Guid and click DONE.
  7. Connect the OK path to the End step. Click Save to save changes to the Flow.
     



Debug

  1. On the top action bar, click Debug. 
  2. Click START DEBUGGING. 
    After the debugger runs, the newly generated GUID will display in the Form's Text Box.

For further information on Flows, visit the Decisions Forum.

Was this article helpful?