I some thouse model:
I have some limitation policy for users based on process variable and current date. For example users cant run more than 25 instances in day with variable “Food”, java.object, where Food.Delivered == true.
I understand that i need to make some querys to HistoryService in my “Check policy”, but i cant figure out how query complex object in history and work fith thouse atributes.
Can you give me some direction or examples?