You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "josedee (via GitHub)" <gi...@apache.org> on 2026/02/19 06:54:21 UTC

[I] Workflow Engine: Sync service task not setting process to ERROR state [incubator-kie-issues]

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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Workflow Engine: Sync service task not setting process to ERROR state [incubator-kie-issues]

Posted by "josedee (via GitHub)" <gi...@apache.org>.
josedee closed issue #2255: Workflow Engine: Sync service task not setting process to ERROR state
URL: https://github.com/apache/incubator-kie-issues/issues/2255


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org