AnsweredAssumed Answered

Activiti REST API not returning date-time and assignee group

Question asked by akadam on Jul 13, 2016
/history/historic-task-instances?processInstanceId=445549&size=1000000&includeProcessVariables=true

Above REST calls gives me below o/p.  "startTime" : "2016-07-13" somehow this is not giving me time component.
Also my Main task is associated with assignee group, Can I get that information in same rest call ?
<userTask id="usertask4" name="MainTask" activiti:candidateGroups="mygroup"></userTask>


{
  "data" : [ {
    "id" : "445554",
    "processDefinitionId" : "sample_process:1:445547",
    "processDefinitionUrl" : "/32DEVCLIENTX/workflow/repository/process-definitions/sample_process:1:445547",
    "processInstanceId" : "445549",
    "processInstanceUrl" : "/32DEVCLIENTX/workflow/history/historic-process-instances/445549",
    "executionId" : "445549",
    "name" : "MainTask",
    "description" : "",
    "deleteReason" : "",
    "owner" : "",
    "assignee" : "",
    "startTime" : "2016-07-13",
    "endTime" : "",
    "durationInMillis" : "",
    "workTimeInMillis" : "",
    "claimTime" : "",
    "taskDefinitionKey" : "usertask4",
    "formKey" : "",
    "priority" : 50,
    "dueDate" : "",
    "parentTaskId" : "",
    "url" : "/32DEVCLIENTX/workflow/history/historic-task-instances/445554",
    "variables" : [ {
      "name" : "SIGNAL_NAME",
      "type" : "string",
      "variableScope" : "GLOBAL",
      "value" : "SAMPLE_MESSAGE",
      "valueUrl" : "",
      "scope" : "global"
    }, {
      "name" : "TENANT_ID",
      "type" : "string",
      "variableScope" : "GLOBAL",
      "value" : "32DEVCLIENTX",
      "valueUrl" : "",
      "scope" : "global"
    } ],
    "tenantId" : "",
    "category" : ""
  } ],
  "total" : 1,
  "start" : 0,
  "sort" : "taskInstanceId",
  "order" : "asc",
  "size" : 1
}

Outcomes