ServiceNow Outbound Connector
Execute CRUD operations on any ServiceNow table
Required inputs
| Key | Label | Type |
|---|---|---|
snInstance | Instance name | FEEL expression |
authentication.apiKeyLocation | Api key location | secret |
authentication.name | API key name | secret |
authentication.value | API key value | secret |
authentication.username | Username | FEEL expression |
authentication.password | Password | secret |
authentication.token | Bearer token | secret |
authentication.oauthTokenEndpoint | OAuth 2.0 token endpoint | secret |
authentication.clientId | Client ID | FEEL expression |
authentication.clientSecret | Client secret | secret |
authentication.clientAuthentication | Client authentication | string |
connectionTimeoutInSeconds | Connection timeout in seconds | string |
readTimeoutInSeconds | Read timeout in seconds | string |
Optional inputs
| Key | Label | Type |
|---|---|---|
operationGroup | Operation | string |
targetTable | Target table | string |
customRequestTarget | Enter table name | string |
sysparm_query | Query parameters (sysparm_query) | FEEL expression |
sysparm_fields | Fields to return (sysparm_fields) | FEEL expression |
sysparm_limit | Result limit (sysparm_limit) | FEEL expression |
updateTarget | Sys ID of the record to update | FEEL expression |
deleteTarget | Sys ID of the record to delete | FEEL expression |
payload_sc_req_item | Payload | FEEL expression |
payload_change_request | Payload | FEEL expression |
payload_change_task | Payload | FEEL expression |
payload_sc_request | Payload | FEEL expression |
payload_sc_task | Payload | FEEL expression |
payload_incident | Payload | FEEL expression |
payload___custom | Payload | FEEL expression |
authentication.audience | Audience | FEEL expression |
authentication.scopes | Scopes | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
retryCount | Retries | FEEL expression |
retryBackoff | Retry backoff | string |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.ServiceNow.v1", {
"snInstance": "= ...",
"authentication.apiKeyLocation": "<your api key location>",
"authentication.name": "<your api key name>",
"authentication.value": "<your api key value>",
"authentication.username": "= ...",
"authentication.password": "<your password>",
"authentication.token": "<your bearer token>",
"authentication.oauthTokenEndpoint": "<your oauth 2.0 token endpoint>",
"authentication.clientId": "= ...",
"authentication.clientSecret": "<your client secret>",
"authentication.clientAuthentication": "credentialsBody",
"connectionTimeoutInSeconds": "=20",
"readTimeoutInSeconds": "=20",
"operationGroup": "create",
"targetTable": "sc_req_item",
})