Query ServiceNow

step

This ServiceNow step container runs a query.

Specification

servicenow

Required

object
A mapping of ServiceNow account configuration.
servicenow.connection

Required

A Relay ServiceNow connection to useConnection docs
${connections.servicenow.my-servicenow-connection}
resource

Required

string
Resource to query
query
Optional
string
Query to run
arguments
Optional
object
Arguments to use
filter
Optional
string
Optional Python lambda to filter data (experimental)

Outputs

output

Required

object
Query output
record_count

Required

integer
Total number of records retrieved from ServiceNow
filtered_record_count
Optional
integer
Number of records after Python filter is applied

Join our community

We’re excited to see and share in our community’s creation. Take a look at our community overview to learn how to begin contributing to Relay.