Currently I have an application that is separated into 2, an HMI part with an input form and a server part with activiti. Each time I finish a task in my workflow I save the JSON form in the variables of the current task and I finish the task :
this.taskService.complete (task.getId (), variables);
Here is my problem, inside my JSON form there is a date that the user inputs and I have to do sorting on it.
Knowing that if I have a volumetry of 200000 tasks, it is not necessary that for each task I go through its variables ... it is too in terms of time.
What is the solution that I have to put in place?
I thank you in advance.