Frends.ServiceNow.FetchAccessToken / 1.1.0
Summary
Exchanges credentials or a refresh token for an OAuth access token for a ServiceNow instance.
Typical use — the first step of a ServiceNow Process, supplying the token the other ServiceNow Tasks then use
Input class usually contains parameters that are required.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Url | String |
– | https://dev123456.service-now.com |
The base URL to the ServiceNow instance. |
| GrantType | GrantType |
– | Frends.ServiceNow.Definitions.GrantType.Password |
Grant type determines how the access token is fetched for ServiceNow. Possible values:
|
| ClientId | String |
– | 1ab23456c789ded785dhd |
ServiceNow instance Client Id. |
| ClientSecretSecret | String |
– | HBF78cfbe6? |
ServiceNow instance Client Secret. |
| Username | String |
– | integration.user |
ServiceNow instance username. |
| PasswordSecret | String |
– | cvj#renivreb7tycv4e8!cv7reb8v47382? |
ServiceNow instance password. |
| RefreshTokenSecret | String |
– | 5FDughf_ncuenUJbvcerubn67cbe-fjncer8c7efcbE88fcvbvc48vbncsifb_kbncUgbE9FCVBE |
RefreshToken for ServiceNow instance. You can get the refresh token when initially fetched the access token with password grant type. |
| Properties | CustomProperty[] |
– | [ { Name: CustomName, Value: CustomValue } ] |
Array of custome properties for the url encoded message. |