Update Incident Activity

適用於: System Center Service Manager 2010

This activity saves property changes to one Service Manager incident.

Icon

97d9c9f6-8fac-47f1-a9d5-623fbfb65dc7

Design-Time Prerequisites

Run-Time Prerequisites

Properties

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

Display Name Internal Name Type Required Description

Action Log Comment

ActionLogComment

String

No

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

Affected User Domain

AffectedUserDomain

String

No

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

Affected User Name

AffectedUserName

String

No

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

Category

Category

Integer

No

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

Continue On Error

ContinueOnError

Boolean

No (default setting is true)

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

Impact

Impact

Integer

No

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).

Service Manager Incident

SMIncident

System.Workitem.Incident

No

The constructed incident class instance to be updated.

Status

Status

Integer

No

Specifies the status of the incident that generated the activity. The value is the ID of enum. (Status –enum data type).

Summary

Summary

String

No

Specifies the summary text that describes the incident.

Urgency

Urgency

Integer

No

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

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

Display Name Internal Name Type Description

SM Incident

SMIncident

System.WorkItem.Incident

Returns an update of the incident class instance. The input SM Incident and the output SM Incidentare equal unless the activity failed to find the SM Incident. In that case, the output SM Incident is set to Null.

Errors and Exceptions

備註

範例