Use this functionality to get the current state, including any blackout window conflict status, of a ServiceNow change request. The user must provide:
-
Valid credentials (Basic authentication or OAuth authentication) and the ServiceNow host URL.
-
The get action type.
-
The cr-number auto-generated during change request creation.
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
Inputs for the get change request functionality are listed below.
Change request model field | Data type | Required | Description |
---|---|---|---|
|
String |
Yes |
The ServiceNow host URL. |
|
String |
Yes |
The username used for authentication. |
|
String |
Yes |
The password used for authentication. |
|
String |
Required only for OAuth-based authentication. |
The unique identification number of the client. |
|
String |
Required only for OAuth-based authentication. |
The client secret used for authentication. |
|
String |
Yes |
The type of operation must be "get". |
|
String |
Yes |
The unique number auto-generated during change request creation. |
Outputs
Outputs for the get change request functionality are listed below.
Change request model field | Data type | Description |
---|---|---|
|
String |
The change request number. |
|
String |
The identifier used to update the change request. |
|
String |
The current status of the change request. |
|
String |
The current conflict status of the planned dates. |
Usage example: Basic
The following is an example payload with basic authentication to get the current change request state:
Usage example: Refer to creation step output
The following is an example payload referring to the output parameter number
from the change request creation step as input in the get step: