# Trying to distribute tasks

**URL:** <https://community.ofelia.com/t/trying-to-distribute-tasks/5948>\
**Category:** Q&A\
**Created:** [20 May 2015 10:23 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948 "2015-05-20T10:23:10Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [20 May 2015 10:23 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/1 "2015-05-20T10:23:10Z")

</div>

Hi,

I’m trying to build a process with two differents lanes, an my idea is that all tasks in a lane should be executed by the actor in this lane.  
I’ve created another organization, with only one group, two roles (employee, designer), and two users (one for each role).  
So, I want to assign each role I’ve created to a lane, and it’s important, in my case, that **the user in the opposite role won’t be able to do te tasks that are not in their lane**.  
I have configured my process too, in order to have two actors, employee and designer, which have the group, role, membership and user, I want they have.  
Well, at this point, I’m very confused about how can I make this. I’ve been reading about actors filters, but I would need some help for understanding well, how this mehanism works.  
May I need an actor filter for getting my goal? In that case, Is it really necessary to create it following the instructions in the doc ( [creating an actor filter](http://documentation.bonitasoft.com/creating-actor-filter) ) ?

Thanks in advance,  
Regards.

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [20 May 2015 12:24 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/2 "2015-05-20T12:24:20Z")

</div>

Hi.

If you have 2 Lanes with 2 differents actors, there is ne need for an actor filter.

A task that is in a Lane can be assignated only to a user that is in the actors of this lane. This respect what you want to do.

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 06:33 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/3 "2015-05-21T06:33:25Z")

</div>

Hi,

Ok, then, How can I assign a role as the lane’s actor?  
I mean, I can define an actor in any lane with General \> Actors \> add; but  
How can I establish that this actor represents a role?

Thanks and regards.

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 06:50 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/4 "2015-05-21T06:50:22Z")

</div>

You need to click on the “Configure” menu. Here you can choose which actor correspond to which role/group/user.

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 06:57 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/5 "2015-05-21T06:57:27Z")

</div>

Yes, as i Say in mi first post, i hace created a new organization and i’ve defined too the group, the roles, the users and the memberships. That includes the configuration of the process in the actors mapping section.  
And I have chosen an actor with the General \> Actors \> add option, but this option only allow me to write a name for the actor.

My question is How can I assign a role to a lane, i.e. I am not telling Bonita that the actor I write is a role. How can I make this? PLease, I would need some more information.

thanks and regards.

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 07:00 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/6 "2015-05-21T07:00:23Z")

</div>

You can’t assign a role to a Lane.

You assign an actor to a lane in the actor tab of the lane. And you assign a role to the actor in the configuration menu.

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 07:05 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/7 "2015-05-21T07:05:33Z")

</div>

Ok. That’s what I’m doing. Then my problem should be different, but I have a process whichs is launched by a role (an actor) and is continued by another one. However, the user who launched the process see the next task (which is in a different lane).

Any idea about what problem could it be?

thanks and regards

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 07:07 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/8 "2015-05-21T07:07:28Z")

</div>

Maybe the user have both roles.  
Can you post a screenshot of the process to see if there is an error ?

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 07:18 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/9 "2015-05-21T07:18:20Z")

</div>

Sure…but…

…I don’t find any option to upload images directly from my PC…

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 07:21 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/10 "2015-05-21T07:21:40Z")

</div>

You need to upload the images on a site and copy/paste the link here.  
For example I use [http://www.hostingpics.net/](http://www.hostingpics.net/)

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 07:31 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/11 "2015-05-21T07:31:05Z")

</div>

Well, I suggest an option to upload directly from PC.  
Anyway here are the links to my screenshots.

[http://hpics.li/a5164d2](http://hpics.li/a5164d2)

[http://hpics.li/e46ccdb](http://hpics.li/e46ccdb)

[http://hpics.li/fe471b3](http://hpics.li/fe471b3)

[http://hpics.li/e59ebf6](http://hpics.li/e59ebf6)

thanks and regards

P.D: the widget to insert an image doesn’t work… ¬\_¬

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 07:39 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/12 "2015-05-21T07:39:10Z")

</div>

I see the error. This is on the configuration.

For both “employee” and “designer”, you select that users in “Group1” can do the process. So every user that is in Group1 can do the process.

If you want only user with the role “employee”, you need to select only the role “employee” in the configuration. In your example, the membership and the group are useless. You need to remove then.

---

<div class="post-metadata">

**Author:** ![javiermmm.fujitsu](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@javiermmm.fujitsu](https://community.ofelia.com/u/javiermmm.fujitsu)\
**Post date:** [21 May 2015 07:46 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/13 "2015-05-21T07:46:47Z")

</div>

Thank you so much! It works!

I suposse I had missunderstood the meaning of the group. A group is an “over-set” of a role isn’t it?

Thanks again!  
regards.

---

<div class="post-metadata">

**Author:** ![yannick.lombardi](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yannick.lombardi](https://community.ofelia.com/u/yannick.lombardi)\
**Post date:** [21 May 2015 07:51 UTC](https://community.ofelia.com/t/trying-to-distribute-tasks/5948/14 "2015-05-21T07:51:40Z")

</div>

Yes, that how I see it.

A user belong to a group, and in this group the user has a role.  
A user can have different role in the same group.  
A user can belong to different group with different role.
