Generating a Unique ID
  • 30 Nov 2020
  • 1 Minute to read
  • Dark
    Light
  This documentation version is deprecated, please click here for the latest version.

Generating a Unique ID

  • Dark
    Light

Article summary

The Generate GUID component creates a unique identifier for use in your flows. It can be found in the Toolbox panel, under the Data category.
Example
Our example flow will generate a unique identifier and display it inside a form input.

Begin by creating a flow. Navigate to a Designer Folder and click the Create Flow button. Name the flow and click OK.

The first step is to place the Generate Guid component in the flow. It can be found in the Flow Designer's startup window, under the All Steps [Catalog] > Data category.

To quickly locate any component, use the Flow Designer startup window's search box. Enter "guid" in the search box, then select a Generate Guid component, and click Add to place it into the workspace.

Next, place a form to display the data.

NOTE
The form for this example has already been built and saved in the Designer Folder. It simply contains one text box that accepts the GUID as input and an OK button.

Next, add the form named Display Guid after Generate Guid step, then connect the outcome paths in the flow.

To display the unique identifier that was generated in our previous step, we need to map it to our form's lone input in the Mapping Editor. We select Display Guid Form and click the Show Mapping Editor link in the Properties panel.

Connect the anchor from the Guid output to the form's GUID input and click OK.


You can then test the flow using the debug method located on the top of your screen.

Click on the play button and run the debug process. The results should look like this.



Was this article helpful?