If you have a large number of scripts, you may want to limit those that are displayed in right-click menus. To limit where the selected script appears, click the Visible Scope button in the VB Scripts dialog box. The Visible Scope dialog is displayed.
A lock is placed on a script when the Visible Scope is accessed, to prevent multiple, simultaneous edits to the script. The following options are available in the Visible Scope dialog box:
-
Run Script: Makes the script available when a user selects Run Script in the OnBase Client, from the Document menu or the right-click options.
-
External AutoFill Keyword Sets: Makes the script available when configuring External AutoFill Keyword Sets.
-
External Keyword Data Sets: Makes the script available when configuring an External Keyword Data Set.
-
Bar Code Processing: Makes the script available during Bar Code configuration, when assigning a Keyword Type. The script is executed when the bar code is read. See the Document Imaging documentation for information on configuring bar codes.
-
Application Enabler: Makes the script available in the Application Enabler configuration tool, when you configure a context. See the Application Enabler documentation for more information.
-
HL7: Makes the script available in the HL7 Process Settings | Execute VB Script drop-down list. See the HL7 documentation for more information.
-
Advanced Capture Processing: Makes the script available in the Advanced Capture Configuration window. See the Advanced Capture documentation for more information.
-
RCM EDI Processing: This option is not supported.
-
RCM BAI Processing: This option is not supported.
-
Workflow Life Cycles: Makes the script available in Workflow when configuring script-related rules or actions, such as Run Script. Specific Workflow Life Cycles can be selected from the drop-down list.
This option is not available unless you are licensed to configure Workflow Life Cycles.
-
Execute This Script At determines whether a script is executed on the Web Server or local machine, when a Workflow rule or action is executed that uses the VB Script. This option applies only to the Core-based Workflow user interface (in the Workflow Classic UI, all rules and actions are executed locally; in the Web Client UI, all rules and actions are executed on the Web Server).
This option is not available unless you are licensed to configure Workflow Life Cycles.
If an action is configured to use a script that is assigned later to a different Life Cycle (or Workflow Life Cycles is deselected), the script will still execute in the Client module. In Studio, a new script should be selected in the action's configuration.