I am trying to suspend the task using suspend task API
taskService.suspend(taskId, userId);
When I tried to suspend the task using Group Id, I am getting the below exception.
org.jbpm.task.service.PermissionDeniedException: User '[User:'RI_BPM_AD']' was unable to execution operation 'Suspend' on task id 142 due to a no 'current status' match
Please help me to fix this issue.
Balaji S