Description:
This step generates a barcode image for the text provided.
Inputs
- barcodeText – generate barcode using the provided text
- barcodeType – select the type of barcode, QR, etc
- fileFormat – select the image format, Jpeg, PNG…
- textLocation – location of the text to be displayed, top, bottom, hide…
- height – height of the barcode
- width – width of the barcode
- textVarGlobal – variable/global to hold the path to the generated barcode file
- relativeVarGlobal – variable/global to hold barcode relative file path
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

Example:
Let’s build and execute the “generateBarCodeDef” example.
- Create a new definition called “generateBarCodeDef” and open it in Designer mode.
- Drag a “generateBarCode” step to the canvas.
- Connect the dots between the “Start” and “generateBarCode” steps, as shown above.
- Define a variable or a global to store the file paths.
- Click the "generatebarcode" step to configure its "Required" properties. Provide a name for the step. Provide a barcode text. Provide a variable or global to hold both the absolute and relative file paths of the barcode file. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- Click the "generate barcode" step to configure its "Optional" properties. Select a barcode type from the drop-down list. Select the file format from the drop-down list. Select the text location position from the drop-down list. Provide the barcode pixel height and width value. Click the Save button.

- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved 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 then execute it. Render the process instance.

- Click the process step to view the properties. The step should generate a new barcode image file. Use the file path to download the image and view it.

Definition Sample:
You may download the sample definition(s) from the link here and later import them (drag-and-drop) to 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 import. Then, save the definition to confirm the changes.
Click here to download the sample file.