Attachment Name
Use this field to specify the name by which this document is to be identified within the Application Event System (AES). This field is used primarily with the and options (Document Action) and is optional for the and options.
If this value is not specified for these actions, a default value is constructed by concatenating the Document Name with the Document Sequence, separated by a period. For example: MyDocument.000000001
The contents of this field must use this syntax:
scalarExpression
where scalarExpression is or resolves to a properly formatted attachment name value.
When you click to return to the Event Actions form, the application "wraps" this content within an ATTACHMENTNAME( ) parameter, which yields this final syntax:
ATTACHMENTNAME("scalarExpression")