ATC: ADD REVISION

This command adds a revision to the document in memory. The new revision requires saving. Most workflow scripts are followed by an automatic save, or you can add an ATC: SAVE command.

Example

ATC: IF TITLE = NEW
     ATC: ADD REVISION
     ATC: SET DocDate = NOW
     SET TITLE = [Fdddd_DocHeader_DocDate] Morning Report
ATC: ENDIF

The above example means “if the document title has been changed to NEW, create a new revision of the document, set the document due date to the current date, and set the title to the document to Day of the Week, Document Header and Document Date followed by Morning Report.”


Last updated: March 12, 2017 at 14:45 pm; 

Related Post

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: EXIT LOOPATC: EXIT LOOP

ATC: EXIT LOOP This command exits the current ATC: FOREACH loop. It is usually used within an ATC: IF block. Example ATC: FOREACH DocAttachedFile BY CheckOutStatus WITH CheckOutStatus <> 'H'

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