I need to release a task after the user decline for doing in two tasks (Task preview and Task register) what converges into a Service Task with this connector.
The “if” only is a filter who decline one of those tasks
userTaskId and userTaskId is the taskAssigneeId from “ProvidedVariables” each operation each Human task from diagram.
//Connector code
import org.bonitasoft.engine.api.ProcessAPI;
ProcessAPI processApi = apiAccessor.releaseUserTask();
if(tsk1_backPortal==true){
processApi(userTaskId)
}
else if(tsk2_confBoolean==false){
processApi(userTaskId)
processApi(usertaskCad)
}
//
Error:
groovy.lang.MissingMethodException: No signature of method: org.bonitasoft.engine.api.impl.APIAccessorImpl.releaseUserTask() is applicable for argument types:
Thank you, im a newbie in bonita and programming. But im trying hard to fix the problem… thanks before hand
Regrats, Peter Grant.