fantonangeli opened a new issue, #2654: URL: https://github.com/apache/incubator-kie-tools/issues/2654
When the UI receives a WF Instance with `"variables": null,` the WF Instance page is empty. **Steps to replicate:** https://github.com/dmarrazzo/swf-simple-order 1. start callback_state_timeouts 2. instance page > workflow instance 3. the page is empty 4. wait 30 seconds (timeout goes off) 5. now the workflow instance is completed 6. the detailed page works as expected! **Debug information:** The working DI answer is: ``` { "data": { "ProcessInstances": [ { "id": "531ca071-8c28-46ae-b93a-7e95c6883bbc", "processId": "callback_state_timeouts", "processName": "Callback State Timeouts Example", "businessKey": null, "parentProcessInstanceId": null, "parentProcessInstance": null, "roles": [], "variables": { "workflowdata": { "exitMessage": "The callback event has not arrived, and the timeout has overdue." } }, "state": "ACTIVE", "start": "2024-10-09T15:42:17.621Z", "lastUpdate": "2024-10-09T15:42:17.621Z", "end": null, ... ``` The one with which give the empty page has this property: ` "variables": null,` Just a value like this would work for the UI: ` "variables": {},` In fact, if I run the callback_state_timeouts workflow with simple data like this, the UI works: `{"a":"b"}` -- 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]
