Script Configuration for Excluding Documents From Charts - Signature Deficiencies for Epic - English - Foundation 22.1 - OnBase - external

Signature Deficiencies for Epic

Platform
OnBase
Product
Signature Deficiencies for Epic
Release
Foundation 22.1
License

This topic describes the script command that allows a document to be imported into a chart Document Type without requiring a chart association.

This topic assumes that you are familiar with OnBase Script Automation. See the OnBase API Automation documentation for additional information regarding writing scripts for OnBase.

To create the script:

  1. Write a VBScript in which the Execution Status property of the OnBase Application Object for the current document is as follows:
    app.ExecutionStatus = -1

    If you set ExecutionStatus() to 0 , the document will be added to a chart or sent to Chartless Documents.

    Note:

    A script hook of this type cannot modify the Keyword values on the document in the script because at the time the script runs, the document isn't actually stored in the database yet. Calling StoreKeywords() in the script will return an error and have no effect on the document.

  2. Add the script to the VBScripts available for the system. See the VBScript configuration topic in the System Administration documentation.
  3. Continue to the next procedure: Script Hook Configuration for Excluding Documents From Charts.