It seems activiti-rest process engine is configured to failed task when a task is > to 5 min. I have this problem on a activiti-rest install : all process are retrying tasks endless. Do you know how to change configuration to increase this time out parameter ?
I'm not sure I'm following here … are you talking about service tasks that take 5 mins? If so, you should make them async as not to block the REST call that is being handled.
Yes, the default lock time if 5 minutes. If your service task is > 5 minutes, it will be seen as 'failed' and it will be acquirable to execute again. That is indeed the way to set the property to change it, we've made that a processEngineConfiguration property on the current master branch, so in the next release this will be easier.