Share via


Get Incident Activity

Applies To: System Center Service Manager 2010

This activity retrieves one or more Service Manager incidents.

Icon

9d08102c-8de3-41e7-a4f0-da845ea42eac

Design-Time Prerequisites

Run-Time Prerequisites

Properties

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

Display Name Internal Name Type Required Comments

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

Continue On Error

ContinueOnError

Boolean

No (default is true)

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

Incident ID

IncidentID

String

No

Specifies the unique identifier generated for the incident object.

Search Type

SearchType

Integer?

No

Specifies the title of the search type used with the activity.

Status

Status

Integer

No

Specifies the status of incident. The value is the ID of enum (Status –enum data field).

Summary Text

SummaryText

String

No

Specifies the summary text that describes the incident.

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

Display Name Internal Name Type Comments

SM Incidents

SMIncidents

Array of System.Workitem.Incident

Specifies an array of incident objects.

Errors and Exceptions

Remarks

The Get Incident activity has its own validator to perform error validation on input properties.

  •  

Example

Did you find this information helpful? Please send your suggestions and comments about System Center Service Manager documentation to scsmdocs@microsoft.com.