Assign Task to Group or Multiple Users
Is there anyone who knows how to assign task to multiple users and assign also to group? The purpose is since there are times that the main approver is not around so it needs to be approved by other user. Please help.
These would be 2 different scenarios.
1) Multiple People would be Assigned the Task. Here You may need to save a variable with all the users to whom the task needs to be assigned. Use Actor Filter to return the Id and assign it to them. This Is called Multi-instantiated Task. Incase , you want the first person who completes the task removes it from others, then you need to use early completion criteria.
2) Group tasks are simple. Configure your lane to match a specific group from the Portal. All members are assigned the same task. The first person to pick the task removes it from others queue.
Open your Diagram , on the Left hand pane would be the swimlanes. Select a new lane. Name the lane as per your group name.
Now define an Actor for that lane . (example - employee ). Make sure all the tasks in that Lane have actor set as (use the actor defined in this lane) .
Now in your Portal create a group called employee . Once you run the Process, it should pick up the Actor and match the correct group from the Portal. Hence employee would be an actor mapped in the Lane.
All members of employee group would get notification of an Assigned task.
Alternatively you could map a Specific group while configuring your Process by Selecting the Group manually.
Let me know if this helps.
This is a Basic Operation in BonitaSoft. Perhaps you should go through the Documentation .
Please Follow my Comment above .
Please Find the Steps to Capture the Person who completed the Task.
1) Create a Process Variable ( ex - requester) .
2) In your Task form, use the API ../API/system/session/1 . use requester.user_name to return the name of the Person.make this as a contract value.
3) Now in your Operation Section, Just put process variable on Left hand side and Contract value on right hand side.
4) Now you have stored the Value of the person who completed the task.
Use the variable value as you like.
If you have some issues , kindly share your BOS file. I will try to Modify it.
Upload your BOS file to google Drive. There will be an option to Share as a link.
Copy the Link and Paste it here in the Comments.
You are using the Bonita version 7.4.1 .
I only have 7.3.1. I am not able to Open your BOS file. I can take a look later.
Else I could create a sample Process in my version and share it with you.
But It will take some time.
I hope that ok.
Here is the Link for the BOS and BAR file.
Here I have created a Lane called Managers Lane. There is a actor group created here for Managers lane.
The actor group is called AdminGroup.
By default , I have used the configure section from the Top to map acme/hr with the AdminGroup.
Hence any task to AdminGroup will be sent to acme/hr.
you can change it if you want. Use the configure section to remove the mapping.
Run the process , it should take you to the Actor configure section.
you could map any group you like here. Use the browse button to select your custom group.
The Best way to test is to Perform the Step 1. When flow comes to step 2 log out and log in as Helen Kelly . You should be able to see the Same task (Step 2).
The first person to Do the task removes it from the Group Queue.
I will do a multi-instantiated task example later. Its much more useful.
Then I will open your BOS file later when I go back home.
Will reply later today or tomorrow .
Here you go.
Will Upload the other one Soon.
Is it ok if I create a Sample process in the Previous version ?
Were you able to open the previous BOS file correctly ?
If yes, then I will make the example using the same version .
I am having some difficulty with the version 7.4.2
Take a look here
If it doesnt work, let me know, I will try to create a sample project.
Could you specify the scenario that you are trying to implement ?
Please Specify the Process end to end .
This seems like a standard scenario from Bonita BPM perspective.
I have done similar processes for my Company .
The Problem seems to be that I use the Subscription version but when I work with the Community version, Tomcat seems to stop responding. hence I am not able to reproduce the Scenario.
I will try to create a Sample Process and hope it responds fine.
This is a procedural and organizational issue not a technical issue,
How we have set this up though is as follows:
managersGroupA, managersGroupB etc.
managersGroupA-Alternatives, managersGroupB-Alternatives etc.
In our Actor Filter:
we read the employees Approver (Manager)
we read HR to see if they are in or not
if in we send it to the manager
if out then we send to Alternatives.
On the managers task:
we also have a Non-Interrupting-Timer - if this is triggered (as in HR have not been notified of the absence (sickness for example)) we then change the manager to Alternative, sending emails etc as appropriate to those that need to know of the change.
PS: As this reply answers your question, please mark as resolved by ticking the tick mark on the left of this reply.
I need to assign a lane or task to a specific group. How will it be?