Create Object

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator

The Create Object is used to create a new Service Manager record associated with a specified class. This activity includes support for incidents and changes.

The following published data element is specific to Create Object. Additional published data is generated based on the class that you selected when you defined the object. For a list of the data elements published by each class, see Service Manager Published Data.

Certain classes contain a mandatory ID property which requires a GUID. Generating a GUID is the responsibility of the workflow author, and can be generated using a .NET scripting activity with the following procedure.

To create a class with an ID property

  1. Create a Run .NET Script activity using the following method: $GUID = [guid]::NewGUID().

  2. On the Published Data tab, define the GUID variable using the following settings:Name: guidType: StringVariable: GUID

When the .NET Script Activity runs, it will generate a GUID that you can subscribe to in the ID property of the activity you are creating.

Create Object Published Data

Element

Description

Number of Objects

The number of objects returned by the Create Object activity

See Also

Concepts

System Center Service Manager Activities
System Center Integration Pack for System Center 2012 Service Manager