caponetto opened a new issue, #3390:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3390
### Describe the bug
Retrigger instance in error state is not working properly
### Expected behavior
The workflow in `ERROR` state is retriggered successfully.
### Actual behavior
The workflow is not retriggered. Instead, you get the following response:
```json
{"message":"Node with definition id _jbpm-unique-508 was not found"}
```
### How to Reproduce?
Test workflow available at
https://gist.github.com/caponetto/bae8d02d1f7aa77318f4618dd9e981bb
1. Run the test workflow - it will end up in `ERROR` state
```bash
curl -X POST -H "Content-Type: application/json"
http://localhost:8080/wait-or-error -d '{"state": "Error"}'
```
The response will be something like:
```json
{"failedNodeId":"_jbpm-unique-508","id":"3045d54d-35a8-4554-a656-8aebe36466d5","message":"org.kie.kogito.process.workitems.KogitoWorkItemHandlerNotFoundException
- Could not find work item handler for actions-openapi_unknown-action"}
```
2. Retrigger the workflow
```bash
curl -X POST -H "Content-Type: application/json"
http://localhost:8080/management/processes/wait-or-error/instances/3045d54d-35a8-4554-a656-8aebe36466d5/retrigger
```
The response is:
```json
{"message":"Node with definition id _jbpm-unique-508 was not found"}
```
### Output of `uname -a` or `ver`
_No response_
### Output of `java -version`
_No response_
### GraalVM version (if different from Java)
_No response_
### Kogito version or git rev (or at least Quarkus version if you are using
Kogito via Quarkus platform BOM)
_No response_
### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
_No response_
### Additional information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]