Create Objects process
The Create Objects process creates the following types of objects objects in the Remedyforce application:
- Change
- Incident
- Configuration item
- Task
You can create multiple objects of the same type by using the Create Objects operation. For example, you can create multiple incidents by specifying the type as incident.
The following table describes the input parameters for the Create Objects process.
Process inputs for the Create Objects process
Input | Description | Required |
---|---|---|
adapter name | Specifies the name of the adapter | No |
objects | Specifies the XML that contains the objects to be created in the BMC Remedyforce application | Yes |
The following figure shows a sample XML for the objects input parameter.
Sample XML for the Create Objects objects input parameter
<object>
<type>BMCServiceDesk__Change_Request__c</type>
<BMCServiceDesk__Change_Description__c>Test Change1</BMCServiceDesk__Change_Description__c>
<BMCServiceDesk__Back_Out_Plan__c>Back Out Plan1</BMCServiceDesk__Back_Out_Plan__c>
<BMCServiceDesk__Change_Type__c>Normal</BMCServiceDesk__Change_Type__c>
<BMCServiceDesk__Change_Category__c>Major</BMCServiceDesk__Change_Category__c>
<BMCServiceDesk__Reason_for_Change__c>Reason for change1</BMCServiceDesk__Reason_for_Change__c>
<BMCServiceDesk__Roll_Out_Plan__c>Rollout Plan1</BMCServiceDesk__Roll_Out_Plan__c>
</object>
</objects>
The following figure shows a sample XML for the adapter response output parameter.
Sample XML for the Create Objects adapter response output parameter
<metadata>
<status>success</status>
</metadata>
<Envelope xmlns="urn:partner.soap.sforce.com">
<Body xmlns="">
<createResponse>
<result>
<success>true</success>
<name>CR00000186</name>
</result>
</createResponse>
</Body>
</Envelope>
</remedyforce-response>