AnsweredAssumed Answered

Bug in 'Like' expressions in Activiti Rest?

Question asked by jindal8787 on Jun 20, 2016
Latest reply on Jul 1, 2016 by jbarrez
Hi Team

We were exploring the options of using 'like' expressions in Activiti Rest API (v5.17.0) for getting the list of tasks. However, for our surprise.. like seems to be working for certain query parameters but not on others. For e.g., it works fine with task name & tenant ID, however it doesn't work with assignee & process-instance business key like parameters.

URLs that works fine -

/activiti-rest/service/runtime/tasks?nameLike=my%25
/activiti-rest/service/runtime/tasks?tenantIdLike=m%25

URLs NOT working -

/activiti-rest/service/runtime/tasks?assigneeLike=j%25 (It gives me all the tasks in Activiti Engine rather it should give a handful)
/activiti-rest/service/runtime/tasks?processInstanceBusinessKeyLike=myB%25 (same, it gives me all the tasks in Activiti Engine rather it should give a handful).

Please confirm if it is a bug in Activiti Rest (v5.17.0)? Any resolution?

Thanks
Amit Jindal

Outcomes