Is it possible to set the scopeType like ‘bpmn’ for process tasks? If yes how can we achieve?
Tried by setting scopeType as ‘bpmn’ in UserTaskActivityBehavior execute() method.
taskEntity.setScopeType(ScopeTypes.BPMN);
But it is causing issue while running ‘saveUserTaskTest()’ in TaskServiceTest.
Getting the SQL exception
Syntax error in SQL statement "UPDATE ACT_RU_TASK SET REV_ = ?, NAME_ = ?,
PRIORITY_ = ?, CREATE_TIME_ = ?, EXECUTION_ID_ = ?, PROC_DEF_ID_ = ?,
TASK_DEF_KEY_ = ?,
SCOPE_TYPE_ = ?
DUE_DATE_[*] = ?,
CATEGORY_ = ?, SUSPENSION_STATE_ = ?, IS_COUNT_ENABLED_ = ?, VAR_COUNT_ = ?, ID_LINK_COUNT_ = ?, SUB_TASK_COUNT_ = ? WHERE ID_= ? AND REV_ = ? ";