GetAdditionalRealGroupNames

Syntax

sub GetAdditionalRealGroupNames

Back to top

Description

This function is called for every change request with parallel actions, when the change request transitions from one status to another. It receives the change request as input, as well as user role names that the change request's workflow specifies as the responsible roles for the change request’s new status. It returns the names of additional responsible roles for the change request's current status.

Back to top

Input Parameters

$context

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.

$metaGroupsArrayRef

A perl array reference with user role names, as they appear in the workflow configuration.

These may be the names of a meta role. For example if a meta role's name is "security", the hook may then return the user role "securityA" for requestors of company A, and the user role "securityB" for requestors of company B, where "securityA" and "securityB" are real user role (not meta roles) that exist in FireFlow.

Back to top

Return Values

One of the following values:

A Perl array reference containing an array of all additional responsible roles.

Note: The role names appear in the same order as in $metaGroupsArrayRef.

[]

Use the default behavior: The user roles specified in the workflow configuration will be responsible for the change request.

Back to top