Home / Connectors / ServiceNow Flow Starter

ServiceNow Flow Starter

Start a ServiceNow flow from a Camunda process

outbound io.camunda:http-json:1

Required inputs

KeyLabelType
snInstance Instance name FEEL expression
restApiTriggerPath REST API trigger path 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
method Method string
connectionTimeoutInSeconds Connection timeout in seconds string
readTimeoutInSeconds Read timeout in seconds string

Optional inputs

KeyLabelType
authentication.audience Audience FEEL expression
authentication.scopes Scopes FEEL expression
headers Headers FEEL expression
queryParameters Query parameters FEEL expression
body Request body 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.ServiceNowFlow.v1", { "snInstance": "= ...", "restApiTriggerPath": "= ...", "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", "method": "POST", "connectionTimeoutInSeconds": "=20", "readTimeoutInSeconds": "=20", "authentication.audience": "= ...", "authentication.scopes": "= ...", })