Retrieving all message and signal subscriptions for a given executionId
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2016 10:07 AM
Hi,
Background:
Building an inspector tool that visualizes the exection tree; so an administrator can know : 'what is a given process waiting on at the moment ? ' -> it's useful to see what on which messages or signals an execution is subscribed .
Question:
How can we retrieve on which BPMN messages and BPMN signals an execution is subscribed, using the activiti java api?
We can retrieve timers for a given execution by using
Is there a similar feature for retrieving subscriptions - other than fetching by sql ?
Background:
Building an inspector tool that visualizes the exection tree; so an administrator can know : 'what is a given process waiting on at the moment ? ' -> it's useful to see what on which messages or signals an execution is subscribed .
Question:
How can we retrieve on which BPMN messages and BPMN signals an execution is subscribed, using the activiti java api?
We can retrieve timers for a given execution by using
managementService.createJobQuery().executionId(String executionId)
Is there a similar feature for retrieving subscriptions - other than fetching by sql ?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2016 01:18 PM
Hi pclaeys, nice seeing you here 🙂
Signals and messages are stored as 'event subscriptions'. There is a 'hidden' API in the EventSubscriptionQueryImpl() which you can use to query event subscriptions like that using the execution.
Signals and messages are stored as 'event subscriptions'. There is a 'hidden' API in the EventSubscriptionQueryImpl() which you can use to query event subscriptions like that using the execution.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2016 02:22 PM
Hi Joram,
thanks, that did the trick for us!
Pieter
thanks, that did the trick for us!
Pieter
