ATC: NEXTDOC WITH option

This command creates a document using all the NextDocFlow rules that are configured for the current Doc type. This command also allows you to override the default target Doc type and can be used multiple times, providing a way for documents of more than one Doc type to be created from a source document.

  • WITH option is optional. More than one option can be used, separated by spaces.
    • TYPE dtk specifies the Doc type for the target document where dtk can be expressed as a variable, bookmark or constant GUID.
    • BookmarkSource specifies that the document will become the source for bookmark expansion.
    • SELECT specifies that the document will become the target of SET statements and the source of alias.field evaluation and condition evaluation; effectively, this loaded document replaces the source document until the next ATC: SELECT SOURCE.

Examples

ATC: NEXTDOC WITH SELECT

The above example means create a new document, as if the user clicked on the “create next” command in the document header drop down menu.



Last updated: August 27, 2019 at 7:34 am ; green text = new

Related Post

ATC: ELSEATC: ELSE

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.

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