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: RELEASEATC: RELEASE

ATC: RELEASE option This command immediately releases (sends on to the next routee) another document that is currently routed to “Spitfire.” option is optional. There are several options but you

ATC: EXIT LOOPATC: EXIT LOOP

ATC: EXIT LOOP This command exits the current ATC: FOREACH loop. It is usually used within an ATC: IF block. Example ATC: FOREACH DocAttachedFile BY CheckOutStatus WITH CheckOutStatus <> 'H'

ATC: ROUTEATC: ROUTE

ATC: ROUTE routelist; option This command alters the route of the current document. routelist is required. It specifies the routing to be applied to the document. The routelist can contain