To create a Change Management instance, select the Change Management tab, and click the button. To edit an existing instance, click on an Instance row from the list.
Enter values for the fields as described in the table below.
...
Field Name
...
Required
...
Description
...
Instance Code
...
Yes
...
Short name for the instance. As the code is available as Groovy and Shell variables it must not contain spaces or other special characters, aside from underscores.
...
Instance Name
...
Yes
...
Display name for the instance.
...
Change Management
...
Yes
...
The change management system.
...
Description
...
No
...
A meaningful description of the instance.
...
Active
...
Yes
...
Whether or not the instance is active in the system. Defaults to "Yes" when creating a new instance.
...
Click the Test button to test the connection and verify that the url, port, username, and password are correct. Click the Save button to save the changes. Optionally click the Apply button to save the changes, but remain on the current screen until the Cancel button is clicked.
ServiceNow Properties
...
Property
...
Type
...
Description
...
ServiceNow URL
...
String
...
The URL for accessing ServiceNow.
...
ServiceNow User Name
...
String
...
A local ServiceNow service account user with a non-expiring password.
...
ServiceNow Password
...
String
The password for the ServiceNow User Name above.
...
To create a Change Management instance, select the Change Management tab, and click the button. To edit an existing instance, click on an Instance row from the list.
Enter values for the fields as described in the table below.
Field Name | Required | Description |
---|---|---|
Instance Code | Yes | Short name for the instance. As the code is available as Groovy and Shell variables it must not contain spaces or other special characters, aside from underscores. |
Instance Name | Yes | Display name for the instance. |
Change Management | Yes | The change management system. |
Description | No | A meaningful description of the instance. |
Active | Yes | Whether or not the instance is active in the system. Defaults to "Yes" when creating a new instance. |
If the selected Change Management System has any properties defined, enter the values for those properties.
Click the Test button to test the connection and verify that the url, port, username, and password are correct. Click the Save button to save the changes. Optionally click the Apply button to save the changes, but remain on the current screen until the Cancel button is clicked.
ServiceNow Properties
Property | Type | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ServiceNow URL | String | The URL for accessing ServiceNow. | |||||||||||||||||||||||||||||||||
ServiceNow User Name | String | A local ServiceNow service account user with a non-expiring password. | |||||||||||||||||||||||||||||||||
ServiceNow Password | String | The password for the ServiceNow User Name above. Note that encrypted properties are stored in Credential Store (Local or External) and can be configured using Edit button next to credential name drop down. Alternatively, you can reuse single credential for multiple properties also, in which case you should name that credential appropriately. | |||||||||||||||||||||||||||||||||
ServiceNow Auth Type | String | Authentication method for connecting to ServiceNow. Defaults to BasicAuth. @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Client ID | String | The auto-generated unique ID of the application. The instance uses the client ID when requesting an access token. @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Client Secret | String | The shared secret string that both the instance and the client application use to authorize communications with one another. The instance uses the client secret when requesting an access token. (Encrypted). @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Keystore Path | String | ServiceNow Keystore Path (path to the jks file). @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Keystore Passphrase | String | Java keystore passphrase for the ServiceNow Keystore (Encrypted). @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Certificate Alias | String | Private certificate alias. @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Certificate Passphrase | String | Passphrase for the ServiceNow Certificate (Encrypted). @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow JWT Verifier Map Key ID | String | ServiceNow JWT Verifier Map Key ID. @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Certificate Algorithm | String | Algorithm used for the certificate. Defaults to RS256. @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Refresh Token Lifespan | Long | The number of seconds that a refresh token is valid. The instance uses the lifespan value when requesting a refresh token. By default, refresh tokens expire in 100 days (8640000 seconds). @Since 5.6.0.6 | |||||||||||||||||||||||||||||||||
ServiceNow Request GET URL | String | The URL to get the change request details as json response. @Since 5.4.0.1
| |||||||||||||||||||||||||||||||||
ServiceNow Navigation Request URL | String | The URL to open ServiceNow and navigate to the Change ticket associated to the project workflow execution @Since 5.4.0.3
| |||||||||||||||||||||||||||||||||
ServiceNow Request POST URL | String | The URL to create a change request. @Since 5.4.0.3
| |||||||||||||||||||||||||||||||||
Approved Check Script | String | A Groovy expressions which determines whether a task for the change ticket is approved or not. The expression must return a boolean, and has access to the following variables:
Following example is to check if current date time is between start_date and end_date defined on Ticket. Let's assume format for the date string returned and TimeZone as GMT.
| |||||||||||||||||||||||||||||||||
Rejected Check Script | String | A Groovy expressions which determines whether a task for a change ticket is rejected or not. The expression must return a boolean, and as has access to the following variables:
| |||||||||||||||||||||||||||||||||
Additional Info Script | String | @since 5.5.0.2 A Groovy expression which determines additional information to add to an external approval when it is approved or rejected. The expression must return a Map<String, String> and have an entry with the key of "notes" for the value to get added to external approval as a task note. Script has access to the following variables:
| |||||||||||||||||||||||||||||||||
Don't Poll | Boolean | Returns whether FlexDeploy should poll ServiceNow to check the change tickets for Approval/Rejection. The default value is false, which means polling will occur. Only check this box if you are using the FlexDeploy REST API to communicate ticket approval/rejection. |
...