Skip to content
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

[Fix apache/incubator-kie-issues#987] New onError event #3428

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Mar 5, 2024

Fixes apache/incubator-kie-issues#987
Ensure that starting event is the first one and complete process events is the last one
Unlink error event from state event so, if there is an error is published always and not only if it happens in the sync part of the process.
Merge with apache/incubator-kie-drools#5766 and apache/incubator-kie-kogito-apps#2011

@fjtirado fjtirado force-pushed the Fix_apache/incubator-kie-issues#987 branch from 7296edb to fde18f4 Compare March 6, 2024 10:30
Although not strictly needed by the PR, for future additions, a new
class in the hierarchy that holds the NodeInstance reference has been
included.
fields has been made final to remark that event objects are inmutable
@fjtirado fjtirado merged commit b896f93 into apache:main Mar 7, 2024
6 checks passed
@elguardian
Copy link
Contributor

@fjtirado @wmedvede @nmirasch try to follow naming convetions when create new events please.

@fjtirado
Copy link
Contributor Author

fjtirado commented Mar 8, 2024

@elguardian Good to know for the future. Which should be the naming convention in this case?

@elguardian
Copy link
Contributor

@fjtirado ProcessErrorEvent as you are in Kie-api and belongs to the process error.

rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Mar 11, 2024
* [Fix apache/incubator-kie-issues#987] New onError event

* [Fix apache/incubator-kie-issues#987] Adding unit test

* [Fix apache/incubator-kie-issues#987] Refactor ProcessNodeEvent children

Although not strictly needed by the PR, for future additions, a new
class in the hierarchy that holds the NodeInstance reference has been
included.
fields has been made final to remark that event objects are inmutable
fjtirado added a commit to fjtirado/kogito-runtimes that referenced this pull request Apr 3, 2024
* [Fix apache/incubator-kie-issues#987] New onError event

* [Fix apache/incubator-kie-issues#987] Adding unit test

* [Fix apache/incubator-kie-issues#987] Refactor ProcessNodeEvent children

Although not strictly needed by the PR, for future additions, a new
class in the hierarchy that holds the NodeInstance reference has been
included.
fields has been made final to remark that event objects are inmutable
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.

Error in workflow not correctly propagated
4 participants