Hello, im trying to assign specific task on specific user accordingly. I already set actor in each lane of the diagram. But whenever i start the process, the tasks don’t apply in every user that i’ve set previously in the lane. Which means user can run task from another user that doesn’t belongs to. I followed every steps given in the documentation regarding to assigning task to user but the problem remains same here is the link (https://documentation.bonitasoft.com/bonita/7.9/define-who-can-do-what). I read every possible solution in the community but same thing. Is there any solution or any additional scripts to add in order to solve this issue? i’ve been stuck to this problem for days. im looking forward any solution of this. thank you.
Hi Yoga,
Tell me if I understand correctly what you want to do here : do you want to give the ability to a user to do a task assigned to someone previously?
If you want to assign specific tasks to a subgroup of users, you can also use the actor filter .
You can also find in this blog post a full explanation of how to assign task to users with Bonita.
I hope this answers your question. If it does, could you please validate it? It can be useful for other members.
Hello Yoga,
I guess the post Delphine has shared explains all this pretty well: https://community.bonitasoft.com/blog/assign-task-user
In your use case, you probably need to first decide whether the group of people you are talking about are people identified in a static way within your organization or if some dynamic is required (for example, projet managers can only be determined based on the project name).
If your organization (Bonita organization, such as ACME is bundled by default) allows you to find the actors, then it is an easy shot by just configuring the actor associated to a lane and then configure all tasks within a lane to use this specific actor. then you can go in server → configure menu and specify which part of the organization is mapped to each actor.
If you need some dynamic like for example looking into an external database to determine who is project manager for the given process instance, then you need to setup a dedicated Actor Filter corresponding to your needs.
Hope this helps,
Charles
Hello,
can you please share more information about the actor you have assigned to the lane + the organization mapping you did?
Thanks,
Charles
hi,
I have put actor each lane of my diagram. The problem is when i start the process, the task that supposed to be only belongs to the user that i assigned previously still can be accessed by another user that supposed doesn’t have any privilege on this task. For example i have actors name Project Manager and Senior Manager. When I start the process, the task which is Senior Manager-only have still can be accessed by the Project Manager. Can you show me the way how to over come this issue?
Thanks,
Yoga
Hello Yoga, you have not included your organization in the bos file, I cannot run the process.
Can you please provide a new bos file that contains only what is needed and all that is needed?
If you can reduce the problem size by removing the diagrams I don’t need to reproduce that would help a lot.
As a first analysis, I have seen in your actor configuration that Engineer is a subset of PM so this could be the problem (ENgineer is a PM so this would not be a surprise that PM can do what Engineer can do).
Thanks,
Charles
hello charles,
here i send you again my .bos file thanks for reminding.
https://www.dropbox.com/s/inbeiq3zipfeufq/Budget%20Diagram-1.0%20(backup%205).bos?dl=0
Hello,
I’m now able to run your process. I have done the following:
- deployed your SNC organization
- run the Budget process with user001 => case is started and I cannot see any task which seems fine as the first task of the process is for PM lane and user001 is not part of this actor mapping
- logout
- login as pm001 and I can see the Create Budget task, take it and execute it
- I can the see the next task Detail Budget which seems also fine
SO on my side everything seems to be working well. Can you please describe what is wrong in what I did or see?
Thanks,
Charles
hi charles,
Thanks for running my project, have you run the entire process from my diagram? i suggest you run the process do not log out keep on going with PM’s Account and you will see the PM still get access the SM’s Budget Approval. The problem begin in this part. i hope you run the process and don’t log out stay on the PM’s account. Is it a good idea to split the diagram into small parts of process? So far i combined all process into one diagram in budget diagram. As we know that Create Budget and Request CA are actually separate process. I want to know if is it possible to access one database in different diagrams. I’m trying to do the best to overcome this task issue with this way. But first i want to know first your opinion as bonita team regarding to this.
thanks,
yoga
Hello Yoga,
on the DB related question, yes you can access the same DB from different processes. The DB is shared among all processes deployed on your Bonita Runtime.
Regarding actor management, I have found the mistake, this is the one I have raised a few comments above. Your organization is not designed correctly as some groups are subgroups of others and not directly from the root Pak Eko. If you want to achieve what I understand, you need to make sure PM is a direct subgroup of Pak Eko. And do the same for SM, PAA and Engineer.
Once done, you need to re configure (server → configure) your actor mapping to remove references to old groups and make sure groups, roles and memberships are all updated.
Then you need to go to your portal as install / install in Organization menu and delete all groups & roles and only then import the newly designed organization (else it is a “merge” so you will still observe the weird behaviour).
i managed to reproduce and then get it working as expected, hopefully you will be able too.
Charles
Hi Charles,
Thanks for your explanation, and i will try it first as you advised and i will let you know if it works.
Yoga
hi Charles,
I have read Delphine’s article i followed all as instructed given in the article. I already make organization also the actor information. i did configure in configure menu and mapped the actor accordingly. i’m still find out what went wrong here. whenever i start the process problem still persists. How come approval process task that only belongs to Senior Manager still can be accessed by Project Manager that doesn’t have any privilege to it?
Here is what i already did:
- I created organization with groups, sub-groups, roles, and users information.
- Actor mapped accordingly in server → configure
- In each lane of diagram i have set actor that i have mapped previously.
What i have missed? Do you want me to send you a screenshot part of my project? which part? i will send you the screenshot if you need. Or if you don’t mind, would you share me bonitasoft support’s email address so we can communicate with all my co-workers involved in my project.
Thanks,
Yoga
Hi Yoga,
Our official support team is dedicated to our customers (using Enterprise edition) If your team and you are working on Community Edition, we will follow up with you on your issue and do our best to help you through this Q&A.
Could you please share with me your .bos? When you will export your .bos make sure you select “Organization”.
Thanks
Hello Delphine,
Thanks for your quick response and i appreciate for helping us. Here i just sent you my .bos file project. I hope this helps you figure out on what is really happening to my project. Make sure you select “budget diagram” first and then run the process. I’m looking forward your answer and thank you very much.
https://www.dropbox.com/s/qok2ty8pi84dtuz/Budget%20Diagram-1.0%20(backup%203).bos?dl=0