RHIDP-10933: [Doc] ServiceNow plugin: Allow integration without changing ServiceNow infrastructure#2020
RHIDP-10933: [Doc] ServiceNow plugin: Allow integration without changing ServiceNow infrastructure#2020rh-tokeefe wants to merge 13 commits into
Conversation
PR Build ResultsBuild passed -- 34/34 titles | 75s Content Quality AssessmentCQA Report
SummaryChecks: 19 total, 19 pass, 0 fail 19 checks: 19 pass, 0 fail Run Updated 2026-05-13 17:42:10 UTC |
| steps: | ||
| - id: create-incident | ||
| name: Create ServiceNow Incident | ||
| action: servicenow:create-incident |
There was a problem hiding this comment.
I think this action name is wrong, list existed actions described here:
catalog-entities/extensions/plugins/servicenow-scaffolder-actions.yaml
There was a problem hiding this comment.
So valid action name should be servicenow:now:table:createRecord
| - id: create-incident | ||
| name: Create ServiceNow Incident | ||
| action: servicenow:create-incident | ||
| input: |
There was a problem hiding this comment.
I think format of the action input is another:
input:
tableName: incident
requestBody:
short_description: "Printer is offline"
description: "The office printer is not accessible via the network"
severity: "3"
# ... more servicenow columns fieldsFrom another side users always can find information about installed actions and their actual options using RHDH UI: https://rhdh-url.some.domain/create/actions
| config: | ||
| layout: | ||
| gridColumn: 1 / -1 | ||
| height: 75vh |
There was a problem hiding this comment.
and one more plugin - servicenow scaffolder action:
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-scaffolder-backend-module-servicenow:bs_1.49.4__2.15.0
disabled: false
pluginConfig:
servicenow:
baseUrl: ${SERVICENOW_BASE_URL}
username: ${SERVICENOW_USERNAME}
password: ${SERVICENOW_PASSWORD}|
|
||
| [source,yaml] | ||
| ---- | ||
| scaffolder: |
There was a problem hiding this comment.
But I think valid configuration for servicenow scaffolder plugin is:
servicenow:
baseUrl: ${SERVICENOW_PROD_URL}
username: ${SERVICENOW_USER}
password: ${SERVICENOW_PASS}
| == ServiceNow global configuration parameters | ||
|
|
||
| [cols="3,1,1,5", options="header"] | ||
| |=== |
There was a problem hiding this comment.
I'm not sure, but maybe it will be easier to show configuration examples:
- basic auth:
servicenow:
instanceUrl: https://<your-dev-instance>.service-now.com
basicAuth:
username: admin
password: <your-password>- oauth:
servicenow:
instanceUrl: https://<your-dev-instance>.service-now.com
oauth:
grantType: client_credentials
clientId: <your-client-id>
clientSecret: <your-client-secret>oauth with with grant type "password" should work too:
servicenow:
instanceUrl: https://<your-dev-instance>.service-now.com
oauth:
grantType: password
clientId: <your-client-id>
clientSecret: <your-client-secret>
username: admin
password: <your-admin-password>…ing ServiceNow infrastructure
|



IMPORTANT: Do Not Merge - To be merged by Docs Team Only
Merge to main and CP to release-1.10
Version(s):
1.10
Issue:
https://redhat.atlassian.net/browse/RHIDP-10993
Preview:
<!--- Add a link to the preview of the changed file(s). --->