activiti - Check task assignee whether in candidate groups -


env: camunda 7.4

given: user tasks have candidate groups assigned @ modelling time. @ runtime user tasks can claimed using taskservice.claim().

expect: assignee in candidate groups. if not, throw authorization exception

attempt: add task listener event name 'assignment' every user task programmatically perform check using identity service

is practice? if not, suggestions? if alright, how achieve this? similar bpmn-parse-listener tasklistener? (specifically following example got problem upon using activityimpl in method parseusertask of abstractbpmnparselistener add listener: tasklistener vs. executionlistener)

thanks!

found solution @ add task listener user tasks. although not sure if way of checking assignment practice.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -