Class script

Optiva VB Scripts (actions, copy methods, and event hooks) must have the class declared exactly as Class typeScript. Otherwise, an error occurs.

  • Class can begin with uppercase C or lowercase c.
  • Use uppercase S for Script. If you use class typescript, then an error occurs.
  • The type declares the type of script:
    • workflow script = ActionScript
    • copy method script = CopyScript
    • equation script = EquationScript
    • event hook script = HookScript