Previous Topic: getValidTransitionsNext Topic: Asset Management Methods


getDependentAttrControls

The getDependentAttrControls method lets you list the locked and required attributes for the Status record (either the ticket’s current status or any status record). At this time, the only attribute supported is the Status attribute. If the attrVals parameter is passed as empty, the method returns the dependent attributes for the current status of the ticket (assuming that a valid handle is used). Otherwise, you can request the dependent attributes for any status record by using the attrVals parameter.

Enter the attrVals parameter syntax as follows:

The following parameters apply:

Parameter

Type

Description

SID

Integer

Identifies the session retrieved from logging in.

handle

String

Identifies the handle for a ticket.

attrVals

String []

Identifies the name-value pairs of a ticket attribute for this method to get its dependent attribute controls.

Description

Returns all of the possible dependent attribute controls for the Status field of a ticket. Administrators can configure attribute restrictions.

Returns zero or more attribute control objects depending on the values specified. If zero objects are returned, there are no attribute restrictions on the object.

Returns

The following:

XML Element

Type

Description

<UDSObjectList>

N/A

Identifies the outer element, which contains zero or more <UDSObject> elements.