Business Object Event Macros

The table below shows the specific macros available for the trigger events which are related to Object Types.

Business Object Event Macros
Event Macros Available Comments
batchclone BATCHCLONEMAP String representation of the result map from the batch copy action. The trigger executes once at the end of the batch copy operation for objects that have the trigger defined before the transaction is committed.
batchrevise BATCHREVISEMAP String representation of the result map from the batch revise action. The trigger executes once at the end of the batch revision operation for objects that have the trigger defined before the transaction is committed.
changename Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
NEWNAME Target name
NEWREV or NEWREVISION Target revision
changeowner Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
KINDOFOWNER Indicates the type of owner that was set. Possible values are owner, organization, or project.
NEWOWNER Target owner
ORGANIZATION Owning organization
Note: ALTOWNER1 is still supported for backward compatibility.
NEWORGANIZATION Target organization
Note: NEWALTOWNER1 is still supported for backward compatibility.
PROJECT Owning project
Note: ALTOWNER2 is still supported for backward compatibility.
NEWPROJECT Target project
Note: NEWALTOWNER2 is still supported for backward compatibility.
changepolicy Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories

NEWPOLICY

Target policy
changetype Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories

NEWTYPE

Target type
changevault Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
NEWVAULT Target vault
checkin Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
FORMAT Target format (if blank, default format used)
FILENAME Target file
Note: FILENAMES is not available since for each file the user selects, a separate checkin event is performed.
APPENDFLAG Append flag (True = append, False = overwrite)
checkout Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
FORMAT Target format (if blank, default format used)
FILENAME Target file (if blank checkout all files) Note that FILENAMES is not available since for each file the user selects, a separate checkout event is performed.
connect Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories

Relationship Macros in Trigger Macro Categories

CONNECTION End of relationship (From or To)
copy (clone) Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
NEWNAME
NEWREV or NEWREVISION
NEWVAULT Target vault (if blank, source vault used)
create Unlike all other Business Object events, the "create" event has no Business Object on which to operate.
USER These are two of the three Context/Access macros in Trigger Macro Categories. ACCESSFLAG is not available.
CHECKACCESSFLAG
OBJECT New object's identifiers
TYPE
NAME
REVISION
OBJECTID This macro is available to the Action trigger program only after the object has actually been created.
POLICY Target policy
TRIGGER_VAULT Target vault
delete Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
MX_OBJECTS_BEING_DELETED A list of IDs of objects in the process of being deleted, separated by the "|" character.
disconnect Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
Relationship Macros in Trigger Macro Categories
CONNECTION End of relationship (From or To)
grant Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
GRANTEE Comma-separated list of grantees to which the object is being granted
GRANTOR Person granting the object, basically the current context
GRANTEEACCESS List of accesses being granted to the grantees
GRANTEESIGNATURE Boolean indicating whether or not the grantee can sign a signature for the grantor
revoke Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
GRANTEE The grantee that is being revoked
GRANTOR The grantor that is being revoked. It is not required to be the current context
lock Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
modifyattribute Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
Attribute Macros in Trigger Macro Categories
NEWATTRVALUE Target attribute value
CHECKRANGEFLAG Boolean check range flag - FALSE when range checking is not performed, such as during import.
modifydescription Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
NEWDESCRIPTION Target description
removefile Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
FORMAT Target format (if blank, default format used)
FILENAME Target file (if blank remove all files) Note that FILENAMES is not available since for each file the user selects, a separate removefile event is performed.
revision Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories
NEWREV or NEWREVISION Target revision
unlock Business Object Macros in Trigger Macro Categories
Context/Access Macros in Trigger Macro Categories