New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice to have additional attributes in RuntimeEvent #2069

Open
igdianov opened this Issue Oct 18, 2018 · 0 comments

Comments

2 participants
@igdianov
Member

igdianov commented Oct 18, 2018

from process run-time context such as businessKey, processDefinitionKey, processInstanceId so that, events can be easily correlated with business application context using GraphQL subscriptions to only receive notifications for events that match values specified in the subscription:

https://github.com/Activiti/activiti-api/blob/develop/activiti-api-model-shared/src/main/java/org/activiti/api/model/shared/event/RuntimeEvent.java

The main use case would be for applications to subscribe to process engine events stream in order to receive notifications for events that match processDefinitionKey/processInstanceId/businessKey topic after sending a command to start process instance associated with businessKey context.

@salaboy salaboy added the blocking label Oct 31, 2018

@salaboy salaboy added this to Open in Activiti 7.x via automation Oct 31, 2018

@salaboy salaboy added this to the Beta3 milestone Oct 31, 2018

@salaboy salaboy added the api label Nov 7, 2018

@salaboy salaboy modified the milestones: Beta3, Beta4 Nov 9, 2018

@igdianov igdianov self-assigned this Nov 13, 2018

@salaboy salaboy added the in progress label Nov 13, 2018

Activiti 7.x automation moved this from Open to Closed Nov 13, 2018

@salaboy salaboy removed the in progress label Nov 13, 2018

@salaboy salaboy reopened this Nov 14, 2018

Activiti 7.x automation moved this from Closed to Open Nov 14, 2018

Activiti 7.x automation moved this from Open to Closed Nov 14, 2018

erdemedeiros added a commit to Activiti/activiti-api that referenced this issue Nov 14, 2018

fix: add missing processInstanceId in RuntimeEvent api (#37)
This PR adds missing `processInstanceId` attribute in `RuntimeEvent` interface and `RuntimeEventImpl`

This is useful to correlate events to be able to issue commands with processInstanceId from any RuntimeEvent similar to IntegrationContext which has processInstanceId attribute. 

Fixes Activiti/Activiti#2069

@salaboy salaboy reopened this Nov 14, 2018

Activiti 7.x automation moved this from Closed to Open Nov 14, 2018

@salaboy salaboy modified the milestones: Beta4, Beta5 Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment