Skip to content

Service Now Service Now: Users

Summary

This module contains actions related to ServiceNow System Users.

Actions

service_now.users.

by_sys_id

Get a user by sys_id.

Commonly used to resolve the opened_by, caller_id, & closed_by keys in:

Minimum Plugin Version: 1.0.0

Input
Output

A User Dictionary.

Example
1
2
3
4
5
- service_now.users.get_by_sys_id:
  load:
    access_details: service_now_api_info
    sys_id: incident.caller_id
  save: caller

service_now.users.

Search for users. Supports multiple search fields and values.

Advanced search techniques & filters are not supported yet.

Each supplied field & value will be converted to field=value in the search query.

Minimum Plugin Version: 2.0.0

Input
Output

A list of User Dictionaries.

Example
1
2
3
4
5
- service_now.users.search:
    user_name: John Smith
  load:
    access_details: service_now_api_info
  save: user