This activity creates and populates a Service Manager incident.

Icon



Design-Time Prerequisites

Run-Time Prerequisites

Properties

The Create Incident activity uses the input properties listed in the following table.

Display Name Internal Name Type Required Comments

Incident ID

IncidentID

String

Yes

Specifies the unique identifier generated for the Incident object.

Action Log Comment

ActionLogComment

String

Yes

Specifies the comment to include in the Incident object’s action log.

Affected User Domain

AffectedUserDomain

String

Yes

Specifies the name of the Domain Name System (DNS) domain of the primary user affected by the incident.

Affected User Name

AffectedUserName

String

Yes

Specifies the user name of the primary user affected by the incident.

Category

Category

Integer

Yes

Specifies the type of incident, such as "Networking" or "Printing". The value is the ID of enum (Category –enum data field)

Continue On Error

ContinueOnError

Boolean

No (default setting is true)

Determines whether the workflow should continue running if the activity fails.

Impact

Impact

Integer

Yes

Specifies the impact of the incident on the affected user(s). The value is the ID of enum (Impact -enum data type)

Source

Source

Integer

No

Specifies the source of information about the incident, such as "Phone”" or "E-mail". The value is the ID of enum (Source –enum data type field)

Summary

Summary

String

Yes

Specifies the summary text that describes the incident.

Urgency

Urgency

Integer

Yes

Specifies the urgency of resolving the incident. The value is the ID of enum (Urgency –enum data type field)

The Create Incident activity generates the output described in the following table.

Name Type Comments

SM Incident

System.WorkItem.Incident

Returns the constructed incident class instance.

Errors and Exceptions

Remarks

Example