AnsweredAssumed Answered

how to find out the starter id from groovy script

Question asked by jachu on Jan 11, 2013
Latest reply on Jan 15, 2013 by frederikheremans1
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

Outcomes