The getRecords operation retrieves a one or more records from a ServiceNow table. You must pass in the table name of the record you want to retrieve to use this operation.
...
Info |
---|
You must configure at least one ServiceNow Instance to use this operation. |
Environment/Instance Properties
...
Property Name
...
Required
...
Description
Project Properties
...
Property Name
...
Required
...
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
ServiceNow Instance Code |
| Yes | The instance Code of the ServiceNow Instance created under Topology that you will connect to. The URL, PORT, USERNAME, and PASSWORD are taken from the instance. |
Request Media Type |
| Yes | Choose to return the data in JSON or XML format. If you select JSON, then use JSONPATH notation in the path expression inputs ( |
See https://github.com/json-path/JsonPath) If you select XML, then use XPATH notation in the path expression inputs. | |||
Table Name |
| Yes | The ServiceNow Table that you want to retrieve records from (e.g. change_request) |
Query String |
| No | Use the query string to filter and sort the results from ServiceNow. It may be helpful to use the Rest Explorer feature of ServiceNow to generate the query strings. |
Fail workflow if http response code over 200 |
| No | If true, any http code over 200 will fail the step and the workflow. |
Path Expression 1 |
| No | Use XPATH or JSONPATH notation to return part of the response back to the workflow as |
Path Expression 2 |
| No | Use XPATH or JSONPATH notation to return part of the response back to the workflow as |
Path Expression 3 |
| No | Use XPATH or JSONPATH notation to return part of the response back to the workflow as |
Path Expression 4 |
| No | Use XPATH or JSONPATH notation to return part of the response back to the workflow as |
Path Expression 5 |
| No | Use XPATH or JSONPATH notation to return part of the response back to the workflow as |
Outputs
Output Name | Required | Description |
---|---|---|
| Returns the integer HTTP response code such as 200, 400, 500. | |
| Returns the complete JSON or XML response from the ServiceNow instance. | |
| Returns the value returned by | |
| Returns the value returned by | |
| Returns the value returned by | |
| Returns the value returned by | |
| Returns the value returned by |
Artifacts
This operation doesn’t consume or produce any artifacts.
...
This operation will select all available endpoints associated to the environment/instanceTarget.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
...