my goal is to find out if a person who started process, is a member of particular group or not. I tried to do it by groovy script task with command
execution.getEngineServices().getTaskService().getIdentityLinksForTask(execution.getCurrentActivityId())
(and process the result to find an owner) but I got 'NullPointerException' error in that line.
I have no idea what is wrong or is it proper way to solve the problem.
Can anybody advice me what to do?
Jacek