Create Object

Applies To: Opalis 6.3

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:

  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: guid

    • Type: String

    • Variable: GUID

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

Create Object Published Data

Element Description

Number of Objects

The number of objects returned by the Create Object activity

Configuring the Create Object

To configure the Create Object

  1. From the Objects pane, drag a Create Object icon to the active policy. Double-click the Create Object icon.

  2. On the Details tab, in the Properties section, click the ellipsis button (...), and then select the Connection to the Service Manager computer that you want to use for this object.

  3. Click the ellipsis button (...), and then select the Class that you want to use to define this object. The fields that are required to define the object are displayed in the Fields section. For a list of the available classes and their respective fields, see Service Manager Classes, Fields, and Filters.

  4. Assign a value to each of the required fields. If applicable, to automatically populate the value from the data published by a previous object in the workflow, right-click the property box, point to Subscribe, and then click Published data. Click the published data element you want to use, and then click OK. To view additional elements, select Show Common Published Data.

    The published data for this object depends on the class that was selected when the object was created. For a list of the data elements published by each class, see Service Manager Published Data. For information about the Common Published Data items, see the "Policy Workflow Rules" chapter of the Opalis Integration Server Client User Guide (https://go.microsoft.com/fwlink/?LinkId=205284).

  5. To use additional fields, click Select Optional Fields. In the Add/Remove Property dialog box, select the properties you want to apply to this object from the Available list, and then click the right arrow button (>>). The properties appear in the Selected list. To remove a property from the Selected list, click the property, and then click the left arrow button (<<). Click OK.

  6. Assign a value to each of the fields. Or, to automatically populate the value for the additional fields from the data published by a previous object in the workflow, right-click the field box, point to Subscribe, and then click Published data. Click the published data element you want to use, and then click OK.

  7. For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for all Objects.

  8. Click Finish.

Other Objects

The Integration Pack for System Center Service Manager contains the following additional objects: