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