AnsweredAssumed Answered

Possible bugs with Activiti-REST

Question asked by pietro.b on Feb 14, 2015
Latest reply on Feb 18, 2015 by pietro.b
I am using activiti-rest to embed workflows in a PHP application.
I've encountered a couple of weird issues

1) Querying for process instances using the "processInstanceBusinessKeyLike" parameter has no effect. Note that "processInstanceBusinessKey" works as intended (this happens with both 5.16.3/4 and 5.17.0)

This bug (which I encountered in 5.16.3) is what made me upgrade to 5.17.0: and here I've met the second issue:

2) I load process definitions with POST -> repository/deployments, and then update the category of the newly loaded process definitions with the PUT -> repository/process-definitions/{processDefinitionId} method.
What happens next is this: the method GET -> repository/process-definitions/{processDefinitionId}, called on a freshly modified processDefinitionId, always returns the OLD category, whereas the GET -> repository/process-definitions, which returns a list, correctly reports the modified category, for the same id!

Obviously some cache is at play here, but I haven't been able to figure out which one.
Many thanks!