ServiceNow Create Object
The ServiceNow Create Object scenario block creates a specified object in the ServiceNow database.
Note that to populate the custom fields in ServiceNow activity history records, the Attached Data block must be used.
The ServiceNow Create Object block may take the Failed conditional exit if the create operation has failed.
Title text is the name of the instance of the block. Enter a name in the text field and click the Update button at the bottom of the Edit pane. The new name of the block appears in the flowchart.
Object type is the type of ServiceNow object to be created. You can either select one of the standard objects from the drop-down menu, or you can enter the name of the desired custom object type.
Variable name of object ID
This is the name of the variable that will be used as identifier for the ServiceNow object to be created. The variable name of object ID will be set only if the block succeeds.
This setting is reserved.
Clicking Raw JSON enables object properties to be specified in JSON format.
The code and the body of the received HTTP response will be stored in local variables $(integrationResultCode) and $(integrationResultBody), respectively. For troubleshooting purposes, use the EMail or Internal Message block to obtain content of responses indicating a failed attempt to create an object. For more information, see the description of variable $(integrationResultBody).