Actually not. ERR_DEPLOY_WORKFLOW seems to be just a constant holding an error message for a failed deployment.
I mean that, in runtime, if a REST call task submits a request and reveices any other http status than OK it just hangs forever (if you don't attach a timer boundary event). Instead, it should throw a BPMNError so that the process could catch it and do something. My question is why it does not do it?
And exceptions like this are just logged and the execution hangs:
org.activiti.engine.ActivitiException: error while converting: 897 to long
It would be nice to know why numbers cannot be converted to long...