Hi ,
I used this api
http://localhost:8080/activiti-app/api/enterprise/historic-tasks/query
in the response process definition key, Process Name and some other fields are null. Why?
I tested this api in
http://localhost:8080/activiti-app/api-explorer.html#!/tasks/listHistoricTasksUsingPOST
In request body I passed
{
"finished": false,
"includeProcessVariables": true,
"includeTaskLocalVariables": true,
"size": 100000,
"taskAssignee": "string"
}
Can any one give me the solution?
Solved! Go to Solution.
Discovered that the problem was related to a CustomVariable serializer. Same simptom, but different problem. Sorry for disturbing.
Tasks that aren't part of a process will have process related fields set to null. Verify whether they are part of processes or not.
Bassam Al-Sarori Yes the tasks are part of process.
Ok thats weird. Not sure what the problem is. What APS version are you using? And is there a way that I can reproduce what your issue?
I've noticed this started to happen suddenly. What changed: we have upgraded from 5.21.0 to 5.22.0.
I've queried the database, and all variables are there in the scope of the process. And the task is part of the scope of the process. Only one variable, of boolean type, has been loaded. Everything else was not.
Discovered that the problem was related to a CustomVariable serializer. Same simptom, but different problem. Sorry for disturbing.
Bassam Al-Sarori I am using APS version 1.7
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.