Previous Topic: WorkFlow MethodsNext Topic: createWorkFlowTask


getWorkflowTemplates

The following parameters apply to the getWorkflowTemplates method:

Parameter

Type

Description

SID

Integer

Identifies the SID of the current login session.

objectHandle

String

Identifies the object handle (persistent_id) of a change order or issue.

attributes

String[]

Identifies the attribute list for which to fetch values. Dotted-attributes are permitted. If this field is blank, all value-based attributes are returned.

Description

Takes a parameter of the handle of a change order or issue and returns a list of workflow templates that are associated with the category of the change order or issue. It first verifies that the change order or issue has a category. Then, it retrieves a list of associated workflow templates of the category. If the change order or issue does not have a category, the following error appears:

Error (UDS_BAD_PARAM) 

Empty/null list is returned if there are no associated workflow templates found for the category

Returns

XML Element

Type

Description

<UDSObject>

N/A

Specifies the standard UDSObject element containing the handle and requested attribute values.