Generates a GUID value

Use this step to generate a Global Unique Identifier (GUID).

Last published at: September 5th, 2025

generateID Step

Description:

This step generates a Globally Unique Identifier (GUID). 

 

Inputs

  • ID Type - A text tag to determine the ID type
  • ID Start value - A number to determine the ID start value and the next value based on the ID type
  • varGlobalToStoreValue-- Variable/Global to store the value
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

 

Usage:

 

 

Example:

Let’s build and execute the “generateIdDef” example.          

  • Create a new process definition named “generateIdDef” and open it in Designer mode. 
  • Drag a few “generateID, and synchronize” steps to the canvas. 
  • Connect the dots between the “Start” and other steps, as shown above.
  • Define a variable, preferably a global variable, to store the generated ID value.
  • Select the first “generateID” step to configure its “Required” properties. Provide a step name. Set the ID type as shown below. In this case, the ID value “CHECK” is suffixed with a unique ID generated by this step. The generated ID values are stored in the “deGenerateID” SQL table. Provide a variable or a global reference to store the generated ID value. Click the Save button. Note: Click the "AI Predict" button to have Copilot add new process steps that match your process description. 

 

  • Select the first “generateID” step to configure its “Optional” properties. Enter the ID start value in any format. Repeat the configuration for the second GenerateID process step. Note: The ID start value must match.   

 

  • The “Logging” configuration is necessary for documentation and to measure workflow progress and percent complete. This is done by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new instance, and execute it. This step generates a globally unique identifier. Select the process instance to render and verify the variables configured to store the unique ID. 

 

  •  The generated ID values are stored in the “deGenerateID” SQL table.  

 

 

Definition Sample:

You may download the sample definition(s) from the provided link and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.

Click here to download the sample file.