次の方法で共有


Create Change With Template

適用対象: System Center 2012 - Orchestrator, System Center 2012 SP1 - Orchestrator

The Create Change with Template activity is used to configure a change record based on an existing template.

重要

System Center 2012 - Orchestrator does not support the use of mandatory fields in child objects that the Create Change with Template activity creates. These template activities will fail in Service Manager if there are mandatory fields in any of the child objects it tries to create. This is because there is no way for the user to provide the mandatory properties for the associated activity.

The Create Change with Template activities create a change record by presenting the workflow author with a property grid of values associated with the change. This includes mandatory properties that will cause the create operation to be rejected by Service Manager if they are not provided.

The configuration user interface for Create Change with Template does not provide a way to configure child work items. It can only access the parent change. Therefore, if any of the child work items contain mandatory properties, the creation of the change will be rejected by Service Manager.

The following published data elements are specific to Create Change with Template. Additional published data is generated based on the class that you select when you define the activity. For a list of the data elements published by each class, see Service Manager Published Data.

Create Change with Template Published Data

Element Description

Template ID

The unique identifier of the template used to create the change

Number of Objects

The number of objects returned by the Create Change with Template activity

Configuring the Create Change with Template Activity

To configure the Create Change with Template activity

  1. From the Activities pane, drag a Create Change with Template activity to the active Runbook. Double-click the Create Change with Template activity 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 activity.

  3. Click the ellipsis button (...), and then select the Class that you want to use to define this activity. For a list of the available Classes and their respective Fields, see Service Manager Classes, Fields, and Filters.

  4. Click the ellipsis button (...), and then select the Template that you want to use to define this activity.

  5. To use additional fields to define this activity, click Select Optional Fields. In the Add/Remove Property dialog box, select the properties you want to apply to this activity 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 selected fields. Or, to automatically populate the value for the additional fields from the data published by a previous activity 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. To view additional elements, select Show Common Published Data.

    The published data for each activity depends on the Class that was selected when the activity 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 Published Data in the System Center Orchestrator 2012 Runbook Guide.

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

  8. Click Finish.

Other Activities

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