Generating a Unique ID
  • 22 Jan 2021
  • 1 Minute to read
  • Dark
    Light

Generating a Unique ID

  • Dark
    Light

Article Summary

Overview 

The Generate GUID component creates a unique identifier for use within Flows. These IDs are used as the default ID type for objects in the Decisions Portal. These can be used to point directly to those elements in a Flow or in navigation links. 

This Step can be found under the Data category in the Steps tab located on the left-hand side of the Flow Designer. This example Flow below will generate a Unique Identifier and display it inside a Form.

For additional information on GUIDs and other ID types in Decisions, see About Decisions IDs.



Example

  1. From a Designer Project, select CREATE FLOW, Flow, provide a Name, then click CREATE. 
  2. Attach a Generate Guid step from the DATA > GENERATOR category in the Toolbox tab. 
  3. Attach a Show Form step to the Done path of Generate Guid step. 
  4. Select the Show Form step and click PICK OR CREATE FORM
    1. CREATE a Form that contains a Text Box and a Button component. 
      The Text box acts as a display for the Guid step's Output. 
    2. Save and close the Form. 
  5. Connect the OK path to the End step. 
  6. Navigate to the Show Form step's Properties tab and Select From Flow map Guid to the Display Guid Textbox's INPUT
  7. Save the Flow, then close via if desired. 



Debug

  1. From the Flow Designer, select the Debug link from the top Action bar. 
  2. Click START DEBUGGING
    The resulting outcome of the Flow will display a newly generated GUID in the Form's Text Box.

  3. Close the Form and view the Form's Input/Output Data to verify the results of the Flow. 

Was this article helpful?