From Bright Pattern Documentation
Jump to: navigation, search
• 5.19 • 5.3 • 5.8

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.


Scenario Builder ServiceNow Create Object scenario block


Conditional Exits

The ServiceNow Create Object block may take the Failed conditional exit if the create operation has failed.


Settings

ServiceNow Create Object block properties

Title text

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

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.

Set fields

This setting is reserved.

Raw JSON

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).

< Previous | Next >