title: How does Activiti dynamic assignment of candidate user work?
body: <p>There is a way to pass the candidate users dynamically to Activiti workflow as described in .</p>
  
  <p><a href="https://stackoverflow.com/questions/13554245/how-do-i-pass-a-list-of-candidate-users-to-an-activiti-workflow-task-in-alfresco/31946058#31946058">How do I pass a list of candidate users to an activiti workflow task in alfresco?</a></p>
  
  <p>When candidateUser/candidateGroup is set for a UserTask using a variable, when is the expression evaluated ? Is the task id -> user/group persisted in database for fast query of like, list all the tasks a particular use can claim ? What table is it stored in ?</p>