AnsweredAssumed Answered

candidateGroup null not accepted.

Question asked by shiva.arunachala on May 5, 2015
Latest reply on May 7, 2015 by jbarrez
I have an application with a user task,

<userTask id="usertask1" name="User Task" activiti:assignee="${assigneeName}" activiti:candidateGroups="${candidateGroup}">

My scenario is that from my UI, i will enter either assigneeName (or) candidateGroup but not both. If i enter candidate group and leave assignee name null, it works fine. But if assignee name is entered and candidateGroup is left null, i get exception shown below.
Please assist.

org.activiti.engine.ActivitiIllegalArgumentException: Expression did not resolve to a string or collection of strings
   at org.activiti.engine.impl.bpmn.behavior.UserTaskActivityBehavior.handleAssignments(