cancel
Showing results for 
Search instead for 
Did you mean: 

Task Assignment based on Roles

lakshmi
Champ in-the-making
Champ in-the-making
Hi

How do I create new roles apart from the already defined Content manager,Content Publisher etc… Is it editing the permissionDefinitions.xml file under \webapps\alfresco\WEB-INF\classes\alfresco\model ?

Is it possible to assign task based on roles? For eg if i have a new custom defined role as 'LayoutEditor' and i have a user for my website registered with role LayoutEditor. Now how do i assign my task(after checking if he is of role LayoutEditor ) to this user in my processdefinition.xml?

Does anyone know a solution to this, please help out.
7 REPLIES 7

steve
Champ in-the-making
Champ in-the-making
Hi,

Look in our WIKI

Steve

lakshmi
Champ in-the-making
Champ in-the-making
Hi,

Thanks Steve!

I have problem with task assignment using bpm:groupAssignee

I have added in property sheet of my task wcmwf:submitSerial

<property-sheet>
<show-association name="bpm:groupAssignee" />
</property-sheet>

In my model.xml I have given bpm:groupAssignee as my mandatory aspect for my wcmwf:submitSerial task.

When I configure the workflow for my web project, i get the search box,but when I click search button nothing loads in the select box.

I see in earlier posts some similar problem addressed where David had asked to remove .sample from /alfresco/extension/workflow-context.xml.sample and restart

But still the problem persists.

Where would I have gone wrong?

lakshmi
Champ in-the-making
Champ in-the-making
Can anybody please help with task assignment to a group…. ??
I have give in my process definition.xml

<swimlane name="Editor">
        <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
      <pooledactors>#{people.getGroup('GROUP_ChiefLayoutEditor')}</pooledactors>
        </assignment>   
    </swimlane>

<task-node name="serialreview">
    <task name="wcmwf:submitReviewTask" swimlane="Editor"/>
    </task-node>

I have created a group with group identifier ChiefLayoutEditor. But still the task is not getting assigned to any of my group members.

PLEASE someone help out …..

davidc
Star Contributor
Star Contributor
You're assigning your group to a pooled task i.e. using <pooledactors>.  You'll need to use the pooled task dashlet to see the assignment.

lakshmi
Champ in-the-making
Champ in-the-making
Thanks David, got it working!

lakshmi
Champ in-the-making
Champ in-the-making
I have one more query,

I have a serial workflow where the work item goes from one user group to another.

Is there a way as to where users in a group can forward work list items to another user in the same user group.I know there is take ownership, but appart from that is there a way?

seraphon
Champ in-the-making
Champ in-the-making
hello

What you are doing looks interesting so it would help those who wish to do similar things to detail what you are doing.
Could you please tell what files did you create/modify ? and in what folder?
This would greatly help my understanding of the problem

Regards seraphon