ATC: ELSE

This command can be used for an IF/ELSE situation, with ATC: IF. It indicates the ATC commands to be used when the ATC: IF command evaluates to false.

Example

ATC: IF Final = true
     ATC: SEQ * NOW
ATC: ELSE
     ATC: SEQ * NOW 14
ATC: ENDIF

The above example means “if the Final field on the document is checked (i.e, True), make the next Seq due right away; otherwise, set the Seq Due Date to 14 days from now.”


Last updated: September 19, 2017 at 11:27 am;  

Related Post

ATC: SELECTATC: SELECT

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

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