BlueCielo Meridian Enterprise 2018 VBScript API Reference

ExecTransition method

Executes the specified workflow definition transition for the current document object.

Syntax

ExecTransition(WorkflowTransition As IASWorkflowTransition, [Comments As String], [TodoPersons As String])
Parameters
Name Description

WorkflowTransition

An object that represents the workflow definition transition to execute

Comments

Optional comments to append to the comment log

TodoPersons

Optional user names to assign as the new to-do persons

Remarks

  • For events to occur for this method, the CWFEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y (default).
  • Wizard pages are not shown when this method is invoked. Property value assignments should be performed by script instead.
  • If the Release project copies of documents as master revisions option of a workflow transition is enabled and the transition changes the status of the document to Released, executing the transition on a project copy with this method will create a new revision of the project copy as expected but it will not release it as a new master document revision.