How to hide deployed processes from specific users?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2014 06:32 AM
Hi,
The 'Deployed Process Definitions' tab in the Explorer current shows all the processes no matter which user is logged on. Is there a way to disable or hide the deployed processes here so that certain users cannot start them?
With Regards,
The 'Deployed Process Definitions' tab in the Explorer current shows all the processes no matter which user is logged on. Is there a way to disable or hide the deployed processes here so that certain users cannot start them?
With Regards,
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2014 02:42 AM
Hi,
You can change the query in the sources.
(e.g. http://www.activiti.org/userguide/#N13846 for rest end points)
Regards
Martin
You can change the query in the sources.
(e.g. http://www.activiti.org/userguide/#N13846 for rest end points)
Regards
Martin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2014 05:26 AM
In the process definition, you can set candidate starters (e.g. using the eclipse modeler). Afterwoods, you need to alter the queries in the activity explorer to achieve that the explorer considers those values. Recompile and redeploy the explorer and then, only users mentioned as candidate starter can see the process.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2014 05:14 AM
I have located the queries to be inside the /database folder, but which query would I need to amend in order to control which processes each user can Start/see?
Regards
Regards

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2014 10:46 AM
The ProcessDefinitionQuery (available through the RepositoryService) has a startableByUser method. That's probably what you are looking for right?
Best regards,
Best regards,
