AnsweredAssumed Answered

TaskService make our own processVariableValueEquals(String key, Object obj)

Question asked by pred05 on Jun 18, 2015
Latest reply on Jun 21, 2015 by trademak
Hi everybody,
i want to add in my request a parameter which is stored in process instance's variable. But this parameter is a custom object. how activiti make it request when we call processVariableValueEquals(String key, Object object) ? If the method compare the object reference i can't do what i want because i construct a new object with the same attributes' values for make my request, so the reference is not the same.

In the same idea it is possible to store a Java util List as variable in the process instance and user processVariableValueEquals(String key , Object object) for test if the object in argument is on the list ?

Or i need to create a native query because it isn't possible directly ?

Thanks for help.
Sorry for my poor english.