I would like to suspend a task in progression. During this time an other process works and when it finishes, the task is resumed.
This is the magnified view :
The resume method throw an exception that I'm not sure to understand :
Caused by: org.jbpm.task.service.PermissionDeniedException: User '[User:'renauds']' was unable to execution operation 'Resume' on task id 7 due to a no 'current status' match
at org.jbpm.task.service.TaskServiceSession.evalCommand(TaskServiceSession.java:311) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:426) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.local.LocalTaskService.resume(LocalTaskService.java:264) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at com.st.ams.task.management.TaskManager.resumeTask(TaskManager.java:320) [classes:]
What can rise this exception ; the userId (he is correct), or it is the suspended status that is not allowed/recognized?
Moreover, even if the application crashes, in database, the status has well return to "InProgress" so it seems to work.
So, my question is, may I just have to catch the exception and ignore it or is there a real problem?