« Return to Thread: Can an activity assign to different users?

Re: Can an activity assign to different users?

by Miguel Valdes Faura :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
 
There is one thing I didn't get relating your use case explanation (Todo vs start). ToDo (in Bonita) means "the list of activities than can be started by a particular user" so each user has its own ToDo list.
 
As a conclusion, a user can only start an activity which is in its ToDo list.
 
Regarding the users assigments to task:
 
- An activity has a particular role assigned.
- This role is mapped using a Mapper entity (Java class).
- The mapper is resolved at runtime (process instantiation).
- After the resolution, this role (for this particular workflow instance) will be assigned to different users
- Those users will find this task in its ToDo list (so they are potential "starters" of this activity)
 
With this mechanism only one user can actually start the activity (as soon as a user start this activity, this activity will not appear anymore in others ToDo list).
 
If your need is to assign the same activity to multiple users (and so stop the execution since all those users do not finished their execution), you can do that through a workflow pattern called "Patterns Involving Multiple Instances". You will find more info about how Bonita handles this pattern in the section 2.4 of the document Bonita workflow_patterns(http://is.tm.tue.nl/research/patterns/download/bonita_patterns.pdf)
 
best regards,
Miguel
 
BPM Manager
 
Bull, Architect of an Open World TM
1, rue de Provence
38130 Echirolles (France)
 
(  Direct Line: +33-4-76-29-72-28
(  Fax: +33-4-76-29-75-18
(  Sec: +33-4-76-29-76-42
+   Email:
miguel.valdes-faura@...
 
This e-mail contains material that is confidential for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
----- Original Message -----
From: "prk" <prashant_kr2000@...>
To: <bonita@...>
Sent: Thursday, June 21, 2007 10:10 AM
Subject: [bonita] Can an activity assign to different users?

>

> Hello All,
>
> Can an activity assign to many users in a Bonita workflow project? For
> example I created a project namely project1 in bonita workflow having an
> activity namely act1 and participants are user1, user2 and user3. I saved
> that project and closed ProEd. I imported the project1. when I logged with
> user3, I would able to "start" and "ToDo" to act1. Other users(user1, user2)
> can start the act1 but not "ToDo". can users (user1 and users2) "start" and
> "ToDo" to act1 ? If yes than how? Pls reply me.
>
> Thanks in advance.
>
> Kind Regards,
> Prashant
> --
> View this message in context:
http://www.nabble.com/Can-an-activity-assign-to-different-users--tf3950927.html#a11209156
> Sent from the Bonita mailing list archive at Nabble.com.
>
>
>


>
> --
> You receive this message as a subscriber of the
bonita@... mailing list.
> To unsubscribe:
bonita-unsubscribe@...
> For general help: sympa@...
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>

--
You receive this message as a subscriber of the bonita@... mailing list.
To unsubscribe: mailto:bonita-unsubscribe@...
For general help: mailto:sympa@...?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

 « Return to Thread: Can an activity assign to different users?