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

ATC: DUE option(s)  INTO $variable This command sets the document due date (or optionally, sets it to a specific day of the month) or creates a variable with the date

ATC: ERRORIFATC: ERRORIF

ATC: ERRORIF condition  |  (WHEN table.field  (operator value-expression  |  IsChanging )) This command ends the workflow script if conditions are met (i.e., an error is detected) and sends an Alert.