I’m looking to do a similar thing to this, so I thought it’d be best to hijack this thread to flesh out some of the options available here.
My requirement is to (as much as possible) create a universal inbox that will only show people what they have access to, giving different permissions to different users for tasks (so some can be administrators of tasks that others are only users of, if possible mixed together into one view, so the inbox will let me be an admin for some tasks but not for others).
Step one: make a task inbox that can see all tasks I have access to.
Assumption (someone confirm this, please!) is that with any inbox, I can only see the tasks I have some sort of access to.
I’ve added the following code to the Inbox Results view, based on the previous post. What do you guys think about the logic and performance characteristics involved:
taskSearchProvider.getSearchQuery().getTaskTypeID().setOperator("<>");
taskSearchProvider.getSearchQuery().getTaskTypeID().setValue("-1");
Step two: create a custom business document that all processes will use, that will convey task-level information e.g. permissions if necessary
Work in progress. Will update here.
Step three: allow inbox to control permissions on a per-task basis based on user role and roles configured within the task.
Work in progress. How can I access this stuff programmatically?
Step four: allow inbox to control delegations based on task’s roles (so a task can only be delegated within a team as defined by a role, for example)
???
Any suggestions/other considerations at this stage? What do you guys think?
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods