ServiceNow

ServiceNow improves service levels, energizes employees, and enables your enterprise to work at lightspeed. Create, read and update records stored within ServiceNow including Incidents, Questions, Users and more.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   China Cloud operated by 21Vianet
Power Apps Premium All Power Apps regions except the following:
     -   China Cloud operated by 21Vianet
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft
Website https://www.servicenow.com/
Privacy policy https://www.servicenow.com/privacy-statement.html

Note

The Get Knowledge Articles operation can only be used when the Knowledge API (sn_km_api) plugin is activated.

Known Issues and Limitations

  1. When using the Create Record action, it's not possible to specify the full record description. The field value will be ignored due to Service-Now REST API limitations.

  2. The Get Records action may return an "Invalid Table" or other error in Power Apps. For Power Apps implementations the suggested work around is to utilize the Get Records action in Power Automate and pass the data back to Power Apps.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
Instance string Name of the instance for service-now.com or custom URL for migrated account True
Username string Username for this instance True
Password securestring The password for this account True

Throttling Limits

Name Calls Renewal Period
API calls per connection 600 60 seconds

Actions

Create Record

Create a record in a ServiceNow table.

Delete Record

Deletes a record for a ServiceNow object type like 'Incidents

Get Knowledge Articles

Returns a list of knowledge base (KB) articles which can be searched and filtered

Get Record

Gets a record for a ServiceNow object type like 'Incidents'

Get Record Types

Lists the available record types

List Records

Gets records of a certain ServiceNow object type like 'Incidents'

Update Record

Updates a record for a ServiceNow object type like 'Incidents'

Create Record

Create a record in a ServiceNow table.

Parameters

Name Key Required Type Description
Record Type
tableType True string

Type of record to list

body
body True dynamic
Display System References
sysparm_display_value boolean

Determines if system references should be included

Exclude Reference Links
sysparm_exclude_reference_link boolean

Determines if reference links should be excluded

Returns

The outputs of this operation are dynamic.

Delete Record

Deletes a record for a ServiceNow object type like 'Incidents

Parameters

Name Key Required Type Description
Record Type
tableType True string

Type of record to list

System ID
sysid True string

System ID for the record.

Get Knowledge Articles

Returns a list of knowledge base (KB) articles which can be searched and filtered

Parameters

Name Key Required Type Description
Fields
fields string

Comma-separated list of fields from the Knowledge table.

Limit
limit integer

Maximum number of records to return.

Query
query True string

Text to search for.

Filter
filter string

Encoded query to use to filter the result set.

Kb
kb string

Comma-separated list of knowledge base sys_ids.

Returns

Get Record

Gets a record for a ServiceNow object type like 'Incidents'

Parameters

Name Key Required Type Description
Record Type
tableType True string

Type of record to list

System ID
sysid True string

System ID for the record.

Display System References
sysparm_display_value boolean

Determines if system references should be included

Exclude Reference Links
sysparm_exclude_reference_link boolean

Determines if reference links should be excluded

Returns

The outputs of this operation are dynamic.

Get Record Types

Lists the available record types

Returns

List Records

Gets records of a certain ServiceNow object type like 'Incidents'

Parameters

Name Key Required Type Description
Record Type
tableType True string

Type of record to list

Display System References
sysparm_display_value boolean

Determines if system references should be included

Exclude Reference Links
sysparm_exclude_reference_link boolean

Determines if reference links should be excluded

Query
sysparm_query string

Encoded query used to filter the result set. Example: active=true^ORDERBYnumber^ORDERBYDESCcategory

Limit
sysparm_limit integer

Limit to be applied on pagination. The default is 10000.

Offset
sysparm_offset integer

Number of records to exclude from the query.

Returns

The outputs of this operation are dynamic.

Update Record

Updates a record for a ServiceNow object type like 'Incidents'

Parameters

Name Key Required Type Description
Record Type
tableType True string

Type of record to list

System ID
sysid True string

System ID for the record.

body
body True dynamic
Display System References
sysparm_display_value boolean

Determines if system references should be included

Exclude Reference Links
sysparm_exclude_reference_link boolean

Determines if reference links should be excluded

Returns

The outputs of this operation are dynamic.

Definitions

GetTypesResponse

Name Path Type Description
result
result array of object

Result set of all record types for current instance.

Display name
result.label string

Display name of the record type.

Value
result.value string

Value of the record type.

GetArticlesResponse

Name Path Type Description
Count
meta.count integer

Number of available KB articles

End
meta.end integer

Ending index of the result set

Fields
meta.fields string

Fields in the article

Filter
meta.filter string

Filter used to acquire the data

Kb
meta.kb string

List of knowledge base article sys_ids

Language
meta.language string

List of comma-separated languages of the KB articles that were requested

Query
meta.query string

Specified request query

Start
meta.start string

Starting index of result set

Status
meta.status.code string

Status of the call

Kb
meta.ts_query_id string

List of comma-separated languages of the KB articles that were requested

articles
articles array of object
Display Value
articles.fields.display_value string

Display value of the requested field

Label
articles.fields.label string

Label representing the requested field

Name
articles.fields.name string

Name of the requested field

Type
articles.fields.type string

Data type of requested field

Value
articles.fields.value string

Value of the requested field

Link
articles.Link string

Link to the article

id
articles.id string

Knowledge article sys_id from the Knowledge [kb_knowledge] table

Number
articles.number string

Knowledge article sys_id from the Knowledge [kb_knowledge] table

Rank
articles.rank float

Search rank of article specific to this search

Score
articles.score float

Relevancy score, results sorted in descending order by score

Snippet
articles.snippet string

Text showing a small portion of the knowledge article

Title
articles.title string

Short description or title of the knowledge article