Arbortext Command Language > Hooks > changetrackingrejecthook
  
changetrackingrejecthook
ret = hook (oid1, oid2, nonrejectable)
 
This hook is called before change tracking markup is removed by a call to change_tracking_reject_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 nonrejectable parameter is set to 1 if the change record cannot be rejected, otherwise it is 0.
The return value of the hook may have the following values:
–2 — to abort the operation with an error
 — to perform the operation
-1   — to abort the operation without warning