cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti workflow : potentialOwner problem

granddams
Champ in-the-making
Champ in-the-making
Hi,

I'm working on an advanced workflow with a task witch must be assigned to all members of a group, and when a user complete the task, assignement for all others users in the group should disappear. This is similar to a pooled wf, isn't it?
So I'd like to use the tag <potentialOwner> but even in the sample workflow "Pooled Review And Approve" it seems to doesn't work.
I've no logs of this cause there's no error. Task is well created (it create a line in table act_ru_task in database), but, not assigned…

Following the page http://www.activiti.org/userguide/index.html#bpmnUserTaskAssignment
I've tried

<potentialOwner>
      <resourceAssignmentExpression>
            <formalExpression>user(user1), user(user2)</formalExpression>
      </resourceAssignmentExpression>
</potentialOwner>
or

<potentialOwner>
      <resourceAssignmentExpression>
            <formalExpression>group(GROUP_mygroup)</formalExpression>
      </resourceAssignmentExpression>
</potentialOwner>
without results…
I've tried too with methods getGroup or getMembers of the people Api, cause i used it with tag <humanPerformer> but no result.

Does anybody have tried this tag whit workflow on alfresco 3.4e?
Where im I wrong?

Thanks in advance
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
Did you try using the activiti:candidateGroups attribute, like this:
<userTask id="usertask1" name="Operations Review" activiti:candidateGroups="GROUP_Operations" activiti:formKey="scwf:activitiOperationsReview">

Jeff

wretzl
Champ in-the-making
Champ in-the-making
Hi,
I have problem with assigne poolled task to candidate groups from WF starting form. I dont know how to do it.
Now I have this
activiti:candidateGroups="GROUP_alftest01"
and it work. but I need two group like "sfwf:firstGroupAssignees,sfwf:secondGroupAssignees". I have this in form, but I cant assigne task to these group. How i should write <code>activiti:candidateGroups= XXX.

Could you someone help me?
OW