Generate Bar Code
  • 31 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Generate Bar Code

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version8.7.0
LocationData > QR & Barcodes

The Generate Bar Code step allows users to generate a QR image for a specified text.


Prerequisites 

This step requires the QRCodes module to be installed before it will be available in the toolbox. 


Properties

Inputs

PropertyDescriptionData Type
Barcode TextThe desired text that will be displayed under the Barcode image String

Settings

PropertyDescriptionData Type
BarcodeEncodingThe desired encoding type for the Barcode to determine the output Barcode image ---

Outputs

PropertyDescriptionData Type
Barcode FileThe image file of the Barcode and textFileData

Example Inputs and Outputs

Barcode TextOutput
This is inputBarCode.jpg
NullEXCEPTION MESSAGE
EmptyEXCEPTION MESSAGE


Common Errors

You cannot generate a bar code without any barcode text

If the Barcode Text value is null or empty, the step will cause an error.

To correct this, enter or map a value to the field.

Exception Message:

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] You cannot generate a bar code without any barcode text. 
at DecisionsFramework.Design.Flow.CoreSteps.StandardSteps.CreateBarCodeStep.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)

Related Information

Forum Posts:
Generate QR Codes


Was this article helpful?

What's Next