Arbortext Command Language > Hooks > changetrackingaccepthook
  
changetrackingaccepthook
ret = hook (oid1, oid2, nonacceptable)
 
This hook is called before change tracking markup is removed by a call to change_tracking_accept_change. The first and second arguments are oids of the one or two start tags used to mark up a single change track record. The first oid is suitable for a call to change_tracking_info. The nonacceptable parameter is set to 1 if the change record cannot be accepted, otherwise it is 0.
The return value of the hook may have the following values:
–2 — to abort the operation with an error
0   — to perform the operation
-1   — to abort the operation without warning