-
Enhancement
-
Resolution: Done
-
Minor
-
7.7.0.GA
-
2020 Week 22-24 (from May 25)
Customer is using below REST API to list task details
http://localhost:8080/kie-server/services/rest/server/queries/tasks/instances/TaskID
Response:
{ "task-id" : 1, "task-priority" : 0, "task-name" : "Task", "task-subject" : null, "task-description" : "", "task-type" : null, "task-form" : null, "task-status" : "Reserved", "task-actual-owner" : "bpmsAdmin", "task-created-by" : "", "task-created-on" : { "java.util.Date" : 1587647388243 }, "task-activation-time" : { "java.util.Date" : 1587647388243 }, "task-expiration-time" : null, "task-skippable" : null, "task-workitem-id" : 1, "task-process-instance-id" : 1, "task-parent-id" : null, "task-process-id" : "HT.T1", "task-container-id" : "HT_1.0.0-SNAPSHOT", "sla-compliance" : null, "sla-due-date" : null, "task-pot-owners" : null, "task-excl-owners" : null, "task-business-admins" : null, "task-input-data" : null, "task-output-data" : null }
Paramter like ' "task-business-admins" : null,' is confusing for customer. It will be great if not include null fields in the response.
- is documented by
-
BXMSDOC-5985 Document new header for kie-server JSON requests to suppress null fields
- Closed