Operations can be specified in more detail using variables, generic features of VBScript, and M-Files API. For example, you can set consecutive numbers for different publication versions or add the send date for a document when it moves to the Sent state.
The following variables can be used in this script: VaultSharedVariables, MFScriptCancel, CurrentUserID, Vault, DisplayID, ObjVer, PropertyValues, StateID, SavepointVariables, TransactionCache, PropertyDef, and GetExtensionObject. For more information about variables, refer to VBScript Variables Explained.