- 1. 简介
- 2. 开始
- 3. 配置
- 4. Flowable API
- 5. 集成 Spring
- 6. 部署
- 7. BPMN 2.0 介绍
- 8. BPMN 2.0 结构
- 9. 表单
- 10. JPA
- 11. 历史
- 12. 身份管理
- 13. Eclipse Designer
- 14. Flowable UI 应用
- 15. REST API
- 16. 集成 CDI
- 17. 集成 LDAP
- 18. 高级
- 19. 工具
文章来源于网络收集而来,版权归原创者所有,如有侵权请及时联系!
15.12. Runtime
15.12.1. Signal event received
POST runtime/signals
Notifies the engine that a signal event has been received, not explicitly related to a specific execution.
Body JSON:
{
"signalName": "My Signal",
"tenantId" : "execute",
"async": true,
"variables": [
{"name": "testVar", "value": "This is a string"}
]
}
Parameter | Description | Required |
---|---|---|
signalName | Name of the signal | Yes |
tenantId | ID of the tenant that the signal event should be processed in | No |
async | If true , handling of the signal will happen asynchronously. Return code will be 202 - Accepted to indicate the request is accepted but not yet executed. If false , handling the signal will be done immediately and result (200 - OK ) will only return after this completed successfully. Defaults to false if omitted. | No |
variables | Array of variables (in the general variables format) to use as payload to pass along with the signal. Cannot be used in case async is set to true , this will result in an error. | No |
Success response body:
Response code | Description |
---|---|
200 | Indicated signal has been processed and no errors occurred. |
202 | Indicated signal processing is queued as a job, ready to be executed. |
400 | Signal not processed. The signal name is missing or variables are used together with async, which is not allowed. Response body contains additional information about the error. |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论