Skip to content

[incubator-kie-issues#1815] Data Index doesn't index any event form runtime when transitioning UserTasks #3844

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

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

josedee
Copy link
Contributor

@josedee josedee commented Feb 11, 2025

Closes apache/incubator-kie-issues#1815

When transitioning a usertask to the next phase using the new /usertask/instance/{id}/transition endpoint, the process engine events are not indexed in the Data Index.

This is a regression introduced after adding the support to Deadlines in User Tasks (#3752)

@josedee josedee changed the title Data Index doesn't index any event form runtime when transitioning UserTasks [incubator-kie-issues#1815] Data Index doesn't index any event form runtime when transitioning UserTasks Feb 11, 2025
@pefernan
Copy link
Contributor

@josedee nice catch! Looks like the issue was that the UserTaskService wasn't wrapping the task transition in a UOW so event's weren't emitted.

Let's reformat this code and see if the CI gets green.

Thank you!

@pefernan
Copy link
Contributor

Thank you @josedee works like a charm

@fjtirado fjtirado merged commit 0963e52 into apache:main Feb 13, 2025
7 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Feb 19, 2025
…untime when transitioning UserTasks (apache#3844)

* user task fix

* added newline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data Index doesn't index any event form runtime when transitioning UserTasks
3 participants