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

ATC: SENDATC: SEND

ATC: SEND FROM email  TO email  SUBJ text; BODY variable options This command sends an email to the person or persons specified. “Route Via” is not relevant and contacts without