Using a custom ad hoc dialog box with the approval server
By default, the approval server provides the AP:AdhocDialog form to work with ad hoc approvers for a request. For more information, see Form-to-view-history-of-activities-on-a-request-for-an-approval-process.
To specify a different form from which to retrieve the details of an ad hoc approver, use the Adhoc Form field on the AP:Process Definition form. You will also need to create an alternative to the AP:AdhocDialog form.
To add a new ad hoc approver, customized applications must push the values of the following fields to the AP:AdhocDetails form from their customized ad hoc dialog box:
Custom ad hoc dialog box fields mapped to the AP:AdhocDialog form
To delete an ad hoc entry, customized applications must first retrieve the of the record from AP:AdhocDetails by passing the Name, Sequence, and Detail ID fields. The request ID is used to fire the standard BMC Remedy AR System application command Application-Delete-Entry to delete the ad hoc approver. For example, the command to delete the entry on the current form with the entry ID found in the core field 1 (Request ID) is:
Application-Delete-Entry "$SCHEMA$" $1$