Configuring Update ServiceNow CI or Asset ActionLast updated on 27 March, 2023
Processes in Dexda, manual or automatic, involve a set of actions to accomplish a goal. An action group is a sequence of individual actions that are executed in order. For more information about the concept of action groups, see About Action Groups.
The Update ServiceNow CI or Asset action described here is a pre-configured action used to update a CMDB CI or Asset record held in ServiceNow. It is useful for example to populate event-driven status fields in ServiceNow.
Configuring an Update ServiceNow CI or Asset Action
The following describes the configuration parameters and available options when creating action groups that involves the Update ServiceNow CI or Asset action. For general information on how to work with action groups, see Creating Action Groups.
|Run Action||The action to run (Update ServiceNow CI or Asset).|
|Only When||Only run the current step if the following condition is met …??|
|Stop When||Stop the entire sequence if any of the follwowing conditions are met…??|
|Stop If||Describes the conditions under which the Action Group flow should be stopped. Multiple conditions can be selected.|
– SNC CMDB entry updated: the action successfully updated the CMDB CI or asset record.
– SNC CMDB entry unknown: the contents of the specified SncCiClassField or SncSysIdField fields is empty.
– SNC CMDB entry does not exist:
— Action Skipped: the action did not run because the filter was not matched to the input record.
— Action Failed: the action failed to complete successfully.
|Filter||Condition that describes whether the action should run.|
Select a mapping field from the action’s record and add the value to set. For descriptions of available configuration parameters, see Creating Rules.
|Retries||The maximum number of times this action will be retried, if there is a failure to connect or get a valid response from ServiceNow. Default is 5.|
|RetryBackoff||Time (in seconds) used to create an exponential backoff between retry attempts.|
The backoff is calculated with (2^attempts * retryBackOff) where attempts starts at 0 and the default RetryBackoff is 30. In combination with the default Retries (5), this yields delays of 30, 60, 120 and 240 seconds between retries.
|Timeout||The overall time limit (in seconds) for entire connection/request/read/close.|
|ConnectTimeout||The time limit (in seconds) for connecting to the ServiceNow instance.|
|ReadTimeout||The time limit (in seconds) for receiving data from ServiceNow in response to an API request.|
|UseReturnValues ??||When enabled, Dexda will request ServiceNow to return (human readable) display values in its API response rather than simply returning the stored values. This is disabled by default.|
Note: Within an Action Group, if the “Store Enrichment data” action is called after “Update ServiceNow CI or Asset” to store the API response data, the UseReturnValues should be set to true.
|SncCiClassField||The Dexda field that holds the CI class of the asset to update.|
|SncSysIdField||The Dexda field that holds the sysid of the asset to update.|