You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ Example BPMN with service task:
29
29
*`url` - the url to invoke
30
30
* optional custom headers:
31
31
*`method` - the HTTP method to use (default: `GET`, allowed: `post` | `get` | `put` | `delete` | `patch`)
32
+
*`contentType` - the type of the request body (default: `application/json`, allowed: any valid HTTP content type)
33
+
*`accept` - the type of the response body that is accepted (default: `application/json`, allowed: `application/json`, `text/plain`)
32
34
*`statusCodeCompletion` - Status codes that lead to completion of the service task (default: `1xx,2xx`, allowed: comma separated list of codes including 1xx, 2xx, 3xx, 4xx and 5xx)
33
35
*`statusCodeFailure` - Status codes that lead to the job failing (default: `3xx,4xx,5xx`, allowed: comma separated list of codes including 1xx, 2xx, 3xx, 4xx and 5xx)
34
36
*`errorCodePath` - path expression (dot notation) to extract the error code of a failed response body (e.g. `error.code`). If the error code is present then a BPMN error is thrown with this code instead of failing the job. Otherwise, that leads to the job failing.
0 commit comments