Previous Topic: Query for Incidents or ProblemsNext Topic: Attach a Problem to a Change Order


Attach an Incident to a Problem

You can associate one or more incidents to a problem. The problem attribute of an incident relates the incident to a problem.

Example: Associate an Incident to a Problem

This example demonstrates how to relate a newly created incident to an existing problem.

To associate the incident to the problem, use UpdateObject to set the problem attribute of the incident. The following example code sets the problem attribute to the handle of an existing problem ticket:

attributeValues = {“problem”, “cr:12346”}
USPSD.UpdateObject(SID, incidentHandle, attributeValues, new String [0])