Wiki

Scale Your Enterprise

User Tools

Site Tools

mbstring extension must be loaded in order to run mPDF

bizweaver:wf_var

This is an old revision of the document!


Workflow Variables

Variables are data values that are held in memory during the execution of a workflow. There are two types of variables in Bizweaver: User Variables and Step Variables.

To access these variables while in any workflow tool, press F4. This will display the variables menu flyout in the tool window. Workflow steps will be displayed on the right, appearing in the order they are in the workflow. Workflow variables will be displayed under the tool name once the tool is clicked on in the flyout alphabetical order.

In Bizweaver 2.6.10 and before, the variables selector will be a separate window, but the functionality remains when selecting workflow steps and then associated variables.

To select variables, select the desired tool, click the tool name. This will expand the list and show all available variables from that tool in alphabetical order. Double click on the variable, and it will automatically be inserted into the last place the cursor was in the tool. To close the variable flyout, press the collapse button to the top right of the panel.

User Variables are defined by the user. These values can be defined in the Variables tool or they can be created using the VBScript tool.

Step Variables are special references created by the Bizweaver application. Most Bizweaver workflow tools create these variables as the step is executed. An example of this would be a reference to an output column from a SQL/HANA Tool or File Reader step.

Bizweaver variables are available to other workflow steps that follow the step where they are created.

More information is found on the Using Variables page.

String Manipulation

Starting in Bizweaver 2.7.2, the functionality to modify variables was introduced. This allows a user to manipulate all variables that are inserted in a specific step.

  • Escape: Selecting this checkbox will enable or disable the escaping functionality.
    • Only one of these can be selected at once, and they only apply in the step in which they are enabled.
    • JSON: Selecting this will escape reserved characters for a JSON file. See the table below for more information.
      • This will generally be used in a Databuilder step
    • XML: Selecting this will escape any reserved characters for an XML file. See the table below for more information.
      • This will generally be used in a Databuilder step
    • SQL: Selecting this will escape reserved characters for SQL Server see table below for more information
  • Replace empty values with NULL: This will take any empty strings or blanks ex '' and replace it with NULL
    • This works independently of the Escape functions.
JSON Reserved Character Explanation Escaped Value
Backspace A backspace in any text in a string \b
Form feed Advanced to the next page \f
Newline A new line in a string \n
Carriage return A carriage return in a string \r
Tab A tab in a string \t
A double quote \”
\ A backslash \\
XML Reserved Character Explanation Escaped Value
< Less than sign &lt;
> Greater than sign &gt;
& Ampersand &amp;
Double quote &quot;
' Single quote &apos;
SQL Reserved Character Explanation Escaped Value
' Single quote \'

Home

bizweaver/wf_var.1726775425.txt.gz · Last modified: 2024/09/19 15:50 by dlee