Provides OmniScript definitions.

Hierarchy

  • OmniScriptDefinitionGenerator

Implements

Constructors

Properties

generator: OmniScriptDefinitionFactory = ...
genericInvoker: VlocityInterfaceInvoker
logger: Logger

Methods

  • Add all elements from the OmniScript specified by spec parameter to the script builder. Skips all inactive elements and loads embedded script elements recursively.

    Parameters

    • builder: OmniScriptDefinitionBuilder

      Script builder to add elements to

    • elementsOrSpec: string | OmniScriptSpecification | OmniScriptElementRecord[]

      OmniScript specification to add elements from or id of the script

    • Optional options: {
          scriptElementId?: string;
      }

      Optional additional options to pass to the builders addElements method

      • Optional scriptElementId?: string

    Returns Promise<void>