Wiki

Scale Your Enterprise

User Tools

Site Tools


bw2:vbscript_tool

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bw2:vbscript_tool [2022/08/02 16:42]
akoehler
bw2:vbscript_tool [2024/09/24 16:18] (current)
dlee [Introduction (VBScript)]
Line 1: Line 1:
-====== Introduction (VBScript======+====== VBScript Tool ======
  
 The VBScript tool is used to create “programming” statements in a Bizweaver workflow using the VBScript language. The results from a VBScript step can be used as variables in subsequent workflow steps. The VBScript tool is used to create “programming” statements in a Bizweaver workflow using the VBScript language. The results from a VBScript step can be used as variables in subsequent workflow steps.
Line 12: Line 12:
  
 where “VariableName” is the variable that will be displayed for selection (using the <**F4**> key) in subsequent workflow steps, and ScriptValue is the value from the VBScript statement. Note that the variable name must be enclosed in double-quotes. where “VariableName” is the variable that will be displayed for selection (using the <**F4**> key) in subsequent workflow steps, and ScriptValue is the value from the VBScript statement. Note that the variable name must be enclosed in double-quotes.
- 
-In the example below, DataCalc is the value being “calculated” by the script. This value is then placed in a Bizweaver variable named “TimeStamp.” 
  
 A single VBScript step can contain multiple VBScript statements. There must be a “Return” statement for each VBScript statement. A single VBScript step can contain multiple VBScript statements. There must be a “Return” statement for each VBScript statement.
Line 21: Line 19:
   - Enter the Script text.   - Enter the Script text.
       - See **//[[bw2:vbscript_tool#vbscript_tips|VBScript Tips]]//** and **//[[bw2:vbscript_tool#vbscript_samples|VBScript Samples]]//** for more information and sample scripts.       - See **//[[bw2:vbscript_tool#vbscript_tips|VBScript Tips]]//** and **//[[bw2:vbscript_tool#vbscript_samples|VBScript Samples]]//** for more information and sample scripts.
-  - Click the [**Run**] button to validate your script.+  - Click the [**Execute**] button to validate your script.
       - If the Return statements are not included the VBScript may execute normally but the validation will not present any results.       - If the Return statements are not included the VBScript may execute normally but the validation will not present any results.
-      - Using the [Run] validation will let you see exactly what value will be produced. +      - Using the [Execute] validation will let you see exactly what value will be produced. 
-      - The [Run] option may not function as expected if variables from other workflow steps are used in the VBScript. In this case, you will need to use the workflow “Test Run” (Debug) option to step through the workflow.+      - The [Execute] option may not function as expected if variables from other workflow steps are used in the VBScript. In this case, you will need to use the workflow “Test Run” (Debug) option to step through the workflow.
  
 <WRAP center round info> <WRAP center round info>
Line 556: Line 554:
 |StepMessage| During a failure the reason for failure will be populated here| |StepMessage| During a failure the reason for failure will be populated here|
 |StepStatus| True or False| |StepStatus| True or False|
 +
 +----
 +**[[bizweaver:Home|Home]]**
bw2/vbscript_tool.1659472923.txt.gz · Last modified: 2022/08/02 16:42 by akoehler