AnsweredAssumed Answered

unknown type of task candidate

Question asked by christoph.rettig on Oct 23, 2012
Latest reply on Oct 23, 2012 by christoph.rettig
Hi, is there a way to set a task's candidates without specifying that the candidates are users or groups?

I would like to have a user task where the user specifies the possible candidates for the next task from a list and it would
be very convenient if I could just set a task variable ${assignee} to something like "fozzie,management,support" (where
fozzie is a user and the two others are groups) without having to create a specifiy TaskListener that splits the types
of candidates and does something like


delegateTask.addCandidateUser("fozzie");
delegateTask.addCandidateGroup("management");

Activiti itself should know from the id what type of entity I am passing in and aith this auto-detect I could
skip the delegate implementation.

  regards, Chris

Outcomes