Create Object
Important
This version of Orchestrator has reached the end of support. We recommend you to upgrade to Orchestrator 2022.
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 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.
Create a class with an ID property
Create a Run .NET Script activity using the following method:
$GUID = \[guid\]::NewGUID()
.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 activity you're creating.
Create Object Published Data
Element | Description |
---|---|
Number of Objects | The number of objects returned by the Create Object activity |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for