This content has been marked as final.
Show 1 reply
-
1. Re: Accessing task/process instance variables and filtering tasks with REST API
swiderski.maciej Nov 5, 2014 5:56 AM (in response to lukasz.dworski)if you consider extension to the api recommended way would be to use the variable that you want to filter by to include in the name or description so then you don't need to go over task variables but simply to check it's name or description. That way queries will be fast and efficient and allow you to still rely on variables. Example can be found here where comment is set with process variable which will actually end up as task description.
As you noticed correctly variable instance log keeps only process variables so that can be an alternative solution to first fine process instances and then by their ids find tasks.
HTH