josedee opened a new issue, #2255:
URL: https://github.com/apache/incubator-kie-issues/issues/2255

   Consider a process definition with a service task that throws a 
RuntimeException:
   
   
   <img width="1024" height="676" alt="Image" 
src="https://github.com/user-attachments/assets/fa631240-7959-427c-bc9e-60632885337a";
 />
   
   
   After the process is executed, the job is correctly associated with the 
error, but the process instance is not set to ERROR state:
   
   
   ```
   {
     "data": {
       "ProcessInstances": [
         {
           "id": "f219b4ce-3ec2-463e-b1d1-00a0d53b91b7",
           "error": null,
           "nodes": [
             {
               "id": "e5d1bffb-6037-4208-aa10-6095efb505eb",
               "definitionId": "_CBBEDAF6-1366-4730-BF92-0645AFC3E9D5",
               "type": "ActionNode",
               "name": "Save Process Instance Id",
               "cancelType": null,
               "errorMessage": null
             },
             {
               "id": "5f8eee1a-61b4-46d1-af9c-2af10278ff7f",
               "definitionId": "_EB580F47-1F0C-46A2-AF7A-9CB214E4E470",
               "type": "HumanTaskNode",
               "name": "User Task 1",
               "cancelType": null,
               "errorMessage": null
             },
             {
               "id": "8840ba06-c5d8-4cb6-9d76-9a116fd2ea6c",
               "definitionId": "_893B4DF3-5B7B-42F2-B617-A20913AAD1D8",
               "type": "StartNode",
               "name": "Hello world started",
               "cancelType": null,
               "errorMessage": null
             }
           ]
         }
       ],
       "Jobs": [
         {
           "id": "ded9bd16-5142-442c-bd22-88b87d851bd6",
           "status": "ERROR",
           "nodeInstanceId": "5f8eee1a-61b4-46d1-af9c-2af10278ff7f"
         }
       ]
     }
   }
   ```


-- 
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]

Reply via email to