SuggestServiceName

Syntax

sub SuggestServiceName

Back to top

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.

Back to top

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: After setting this parameter, you must restart FireFlow for the change to take affect. See Restarting FireFlow (see Restart FireFlow).

Back to top

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.

Back to top

Return Values

A suggested name for the service.

Back to top