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

ATC: CATCH FOR nnn Target This command prevents the script from failing when non-critical situations (such as “file not found”) arise. By default, an alert is still sent. FOR nnn

ATC: QUERYATC: QUERY

ATC: QUERY qalias d1 d2 d3 This command runs the query dynamically defined through a QueryConfig | qalias:Alias rule. The result set is thus available for other ATC commands in the workflow