ATC: EXIT condition | ( WHEN table.field (operator value-expression | IsChanging)) This command ends the workflow script if conditions are met. This is a useful way to have the remainder of
ATC: EXIT condition | ( WHEN table.field (operator value-expression | IsChanging)) This command ends the workflow script if conditions are met. This is a useful way to have the remainder of
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.
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: COPY KEY dataPK | [doctype] project document supplemental; WITH option This command creates a new document, usually by copying a source document. The DocCopyConfig rules are applied. After this
ATC: SAVE WITH options This command saves the current document. Errors during the save are catch-able (see ATC: CATCH). You can specify WITH followed by these options (space separated): Release – Releases
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: SEQ s TO | CC | ANY user-list VIA m option(s) This command allows the due date and other options for routees to be set. It does not work with
ATC: SET tablename.fieldname = value This command sets a specified field on the current document to the value specified. tablename is optional; however, if it is omitted, the Document Header
ATC: SETHTML tablename.fieldname = new-value This command is similar to the ATC: SET command but maintains any HTML formatting of the text value expressed in the command. The text editor
ATC: STATUS statuscode This command sets the status code on the current document to the value specified. This command is the same as ATC: SET STATUS = statuscode is required.