ATC: SELECT option

This command selects either the source document or the new document as the current document. Most commands affect the current document.

  • option is required; however, only one of the following options can be used at a time:
    • SOURCE selects the source document that opened the workflow script as the current document.
    • NEW selects the new document as the current document.

Example

ATC: COPY * NEW;
ATC: SELECT NEW

The above example means “create a new document of the same Doc type of the current document and in the same project, then make the new document the current document.”


Last updated: September 19, 2017 at 9:38 am;  

Related Post

ATC: ALERTATC: ALERT

ATC: ALERT [user] TITLE title; free-form-text This command sends an alert with free-form text to a specified user. [user] is required. It specifies the person to receive the alert. Square brackets

ATC: ENDLOOPATC: ENDLOOP

ATC: ENDLOOP This command marks the bottom of a loop and returns to the start of the loop if there are additional iterations remaining. Example ATC: FOREACH DocItem BY DocItemNumber WITH