HTTP Polling Intermediate Catch Event Connector
Polls endpoint at regular intervals
Required inputs
| Key | Label | Type |
|---|---|---|
url | URL | FEEL expression |
httpRequestInterval | Interval | FEEL expression |
authentication.token | Bearer token | secret |
authentication.oauthTokenEndpoint | OAuth token endpoint | secret |
authentication.clientId | Client ID | FEEL expression |
authentication.clientSecret | Client secret | secret |
authentication.username | Username | FEEL expression |
authentication.password | Password | secret |
| Correlation key (process) | FEEL expression |
correlationKeyExpression | Correlation key (payload) | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
authenticationType | Type | string |
method | Method | string |
queryParameters | Query parameters | FEEL expression |
headers | HTTP headers | FEEL expression |
authentication.scopes | Scopes | FEEL expression |
authentication.audience | Audience | FEEL expression |
authentication.clientAuthentication | Client authentication | string |
body | Request body | FEEL expression |
activationCondition | Condition | FEEL expression |
connectionTimeoutInSeconds | Connection timeout | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.http.Polling", {
"url": "= ...",
"httpRequestInterval": "= PT50S",
"authentication.token": "<your bearer token>",
"authentication.oauthTokenEndpoint": "<your oauth token endpoint>",
"authentication.clientId": "= ...",
"authentication.clientSecret": "<your client secret>",
"authentication.username": "= ...",
"authentication.password": "<your password>",
"": "= ...",
"correlationKeyExpression": "= ...",
"authenticationType": "noAuth",
"method": "get",
})