Trying to get tasks by applying filter on process definition key using “processDefinitionKeyIn”
Making a Post Request at http://localhost:8080/engine-rest/task
with the body as follows:
{ "processDefinitionKeyIn":"semReg,deRegistration" }
Getting the following error:
{
“type”: “JsonMappingException”,
“message”: “Can not deserialize instance of java.lang.String[] out of VALUE_STRING token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@9a68200; line: 2, column: 2] (through reference chain: org.camunda.bpm.engine.rest.dto.task.TaskQueryDto["processDefinitionKeyIn"])”
}