ServiceNow Change
EvalGate can send its gate and release decisions to a ServiceNow change request. Each decision becomes a signed file on the change and a work note a reviewer can read without leaving ServiceNow. When EvalGate blocks, the change goes on hold until a later decision passes.ServiceNow Change delivery is Experimental. It has been proved end to end
against a ServiceNow developer instance; it has not yet been qualified against
a customer production instance. See feature status.
What gets sent
The attachment,
evalgate-decision-<decision id>.json, contains the decision
body, its SHA-256 digest and an HMAC-SHA256 signature made with your
organization’s EvalGate report signing key. When a release was approved in
the same workflow before this commit, the work note’s second line is the
bottom line against it (“Against the last approved release: …”), the same
sentence the release panel shows. The same decision is also sent to
signed webhooks subscribed to gate.decision.recorded or
release.decision.recorded.
Set up ServiceNow (one time)
You need an administrator on the ServiceNow instance.- Allow client credentials. In System Properties, set
glide.oauth.inbound.client.credential.grant_type.enabledtotrue(create it as a true/false property if it does not exist). - Create an integration user, for example
evalgate.integration, with Web service access only ticked and only thesn_change_writerole. - Create an OAuth client in System OAuth → Application Registry → Create an OAuth API endpoint for external clients. Set its OAuth Application User to the integration user and its Default Grant type to Client Credentials. Copy the Client ID and Client Secret.
Connect EvalGate
- In EvalGate, open Settings → Webhooks and find ServiceNow Change.
- Enter the instance address (
https://yourcompany.service-now.com), the Client ID and the Client Secret. Optionally enter a test change number. - Choose Connect ServiceNow. EvalGate signs in, and reads the test change when given, before it stores anything.
Link a change request
Under Linked change requests, choose Workflow or AI release, paste the workflow or release page address (or its ID), enter the change number such asCHG0030001, and choose Link. EvalGate checks that the integration user
can read the change first.
From then on, every new decision for that workflow or release is delivered to
the change. Recent deliveries shows each delivery’s status and whether the
change was held or released.
How delivery works
- The decision is written to EvalGate’s durable outbox in the same database transaction as the decision itself, so it is never lost and never sent for a decision that did not save.
- Each decision is delivered once per linked change. A retry after a partial failure reuses the attachment it already added.
- Failed attempts are retried with backoff. The error is shown on the delivery.
- If an older decision arrives after a newer one (for example after a retry), it is still attached, but only the newest decision for that change, delivered or still retrying, changes the hold. Deliveries to one change run one at a time.
- If the change is already on hold for another reason, a block leaves that hold and its reason untouched, so a later pass never releases it.
- Only ServiceNow-hosted instances (
*.service-now.com,*.servicenowservices.com) are accepted. Requests never follow redirects.
API
The same operations are available to administrators with theadmin:workspace
scope:
See the API reference for request and response shapes.