SuggestServiceName
Syntax
sub SuggestServiceName
Description
This function is called for every change request, in which the work order contains a service that is not associated with a name. It receives the change request as input, as well as the service. It returns a suggested name for the service.
Configuration
By default, this hook is not called. To configure the hook, complete the procedure below.
To enable the SuggestServiceName hook, use the generic procedure for overriding system defaults to set the configuration parameter SuggestHostNameInWorkOrder to the value 1. For details, see Override FireFlow system defaults.
Note: This configuration parameter configures this hook as well as the SuggestHostName hook.
Note:
Input Parameters
$ticket |
A Perl hash reference containing a single key called flatTicket, which points to the flat ticket representation of the change request. For details, see Flat Ticket Examples. |
$service |
The service that does not have an associated name. |
Return Values
A suggested name for the service.