HTTP Polling Intermediate Catch Event Connector
Polls endpoint at regular intervals
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.apiKeyLocation | Api key location | secret |
authentication.name | API key name | secret |
authentication.value | API key value | secret |
authentication.username | Username | string |
authentication.password | Password | secret |
authentication.token | Bearer token | secret |
authentication.oauthTokenEndpoint | OAuth 2.0 token endpoint | secret |
authentication.clientId | Client ID | string |
authentication.clientSecret | Client secret | secret |
authentication.clientAuthentication | Client authentication | string |
authentication.oauthRefreshToken.oauthTokenEndpoint | OAuth 2.0 token endpoint | secret |
authentication.oauthRefreshToken.clientId | Client ID | secret |
authentication.oauthRefreshToken.refreshToken | Refresh token | secret |
method | Method | string |
url | URL | FEEL expression |
connectionTimeoutInSeconds | Connection timeout in seconds | FEEL expression |
readTimeoutInSeconds | Read timeout in seconds | FEEL expression |
correlationKeyProcess | Correlation key (process) | FEEL expression |
correlationKeyPayload | Correlation key (payload) | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
authenticationConfiguration | Authentication credential | secret |
authentication.type | Type | string |
authentication.audience | Audience | string |
authentication.scopes | Scopes | string |
authentication.oauthRefreshToken.clientSecret | Client secret | secret |
authentication.oauthRefreshToken.scopes | Scopes | secret |
urlOverride | URL | FEEL expression |
queryParameters | Query parameters | FEEL expression |
headers | Headers | FEEL expression |
followRedirects | Follow redirects | string |
body | Request body | FEEL expression |
httpRequestInterval | Http request interval | FEEL expression |
activationCondition | Activation condition | FEEL expression |
messageIdExpression | Message ID expression | FEEL expression |
messageTtl | Message TTL | FEEL expression |
messageNameUuid | Message name | 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", {
"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",
"authentication.oauthRefreshToken.oauthTokenEndpoint": "<your oauth 2.0 token endpoint>",
"authentication.oauthRefreshToken.clientId": "<your client id>",
"authentication.oauthRefreshToken.refreshToken": "<your refresh token>",
"method": "POST",
"url": "= ...",
"connectionTimeoutInSeconds": "= 20",
"readTimeoutInSeconds": "= 20",
"correlationKeyProcess": "= ...",
"correlationKeyPayload": "= ...",
"authenticationConfiguration": "<your authentication credential>",
"authentication.type": "apiKey",
})