Create a ServiceNow incident
Create a ServiceNow incident when a data drift issue is detected during ongoing monitoring using an HTTP request workflow step.
Prerequisites
Configure the workflow step
In the left sidebar, click Settings.
Under Governance, select Workflows.
Select the Model Workflows tab.
Click on a workflow to modify or click Add Model Workflow4 to create a new workflow.
From the Workflow Steps modal, drag and drop an HTTP Request step5 onto the canvas, then connect it to your workflow.
Double-click the step to open the Configure HTTP Request modal.
Configure the required fields, replacing the placeholder values with your own:
- url —
https://yourinstance.service-now.com/api/now/table/incident - method — POST
- headers — Add:
Content-Type:application/jsonAuthorization:Basic {{ServiceNow Credentials}}
TipUse webhook secrets for credentialsInstead of entering credentials in plaintext, use a webhook secret:
Basic {{secret:servicenow_creds}}. See Manage secrets.- body type — JSON
- body — Use the following JSON payload:
{ "short_description": "Data drift issue detected: {{Model Name}}", "description": "A potential issue has been identified for model {{Model Name}} (link: [{{Model URL}}]({{Model URL}})). Please review the ongoing monitoring documentation in ValidMind.", "urgency": "2", "category": "Model Risk" }- url —
The HTTP request to create the ServiceNow incident is sent when the workflow executes the step.
