I am using the built-in service pub.monitor.process.instance:getInstanceListCustomData to get the list of all the process instances that meet the custom data specified in the input.
But the problem that I am facing is this service doesn’t take into consideration the dateCreated and fromDate and toDate fields specified in the input.
It gives me the list of all the process instances even though, I try to limit the result by setting the dateCreated as Yesterday/LastWeek etc.Even if I set the fromDate and toDate fields it returns all the process instances.
Request you to please help me if anyone has faced this issue and know of any resolution.
I found a solution to this problem.A Monitor fix needs to be applied.
Infact there are issues with the getInstanceList and getInstanceListCustomDataSet as well as they do not take the date into consideration when they retrieve the output.