As my first project we are building a proof of concept using BPT. I was wondering if it is possible to hide tasks from specific users in the EPA Taskbox. We have users that have permission to create requests and approve requests but the user that approves the request isn't allowed to be the same user that created the request. So we are trying to hide the "approve request" task from the user that created the request even though that user has permissions. Is there any way to implement this using the standard EPA Taskbox and without changing the user roles?
There is property to hide the activity for a specific user, but you can create a user group with the the list of users that are allowed to handle the activity and use the ActivitySetGroup system action (manage dependencies->System->Show All->ActivitySetGroup) in the OnReady for the human activity.
To create and manage a group, use the APIs from the users espace.
Let me know if this solves your question.
Stephan Trapenberg wrote:
Thanks for your reply. We ended up using the Taskbox+ component from Forge to get the desired results. I am still curious though how you would hide activities from a specific user (for example the user that completed the previous activity) using the standard EPA taskbox. I've searched for information about this feature but I still haven't found anything.
Sorry if my previous message was not clear enough.
What I wanted to say is that it is not simple to hide it from a specific user. You need to create a group using the APIs from the "Users" espace. The group will define all the users that should be able to see the activity, and then assign the activity to that specific group using the ActivitySetGroup system action.
Still, if you solved your requirement with taskbox+, it is not worth the effort to change it now.