generateBarCode Step

Last published at: May 14th, 2024

Description:

Generate a barcode image using 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
  • Select the definition and click the “design” button
  • Drag a generate barcode step from the toolbox
  • Connect the dots between the start and generateBarCode step
  • Configure the step using the following properties:
  • Create a workflow instance and execute, the workflow will generate a new barcode image file