Bug 1059157 - BIgApp: MortgageApplication uses role 'manager' to assign human task
Summary: BIgApp: MortgageApplication uses role 'manager' to assign human task
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-29 10:02 UTC by Jan Hrcek
Modified: 2014-06-16 13:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-22 12:24:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Hrcek 2014-01-29 10:02:55 UTC
Description of problem:
The MortgageApplication process from the BPM Example application assigns user taks 'Financial Review' based on user role manager, which clashes with the business-central role manager.

Should user create some user with just the role manger, then this user would be unable to finish the 'Financial Review' task in business central, because manager (as a BC role) does not have access to tasklist.

Version-Release number of selected component (if applicable):
BPMS 6.0.0 CR2

How reproducible:
Always

Steps to Reproduce:
1. When playing with the application create some user with just the role manager

Actual results:
When you login with user who only has manager role in business central, you will not be able to complete the process, because task list is not available to manager.

Expected results:
The role based assignment in the process (as well as the Manager swimmlane) should be renamed to use some other role to define HT assignment. For example financialManager.

Comment 1 Kris Verlaenen 2014-01-29 15:34:55 UTC
Agreed, but there's no reason why you wouldn't be able to add multiple roles.  So for example if you create a new user with roles "analyst,manager" he would be able to see the task list and also claim the task.

I agree that updating the example to use financialManager instead would avoid any confusion.

Comment 2 Jan Hrcek 2014-01-30 05:41:34 UTC
Kris, I understand. Even in our test suite we used only one user with all the roles that demo required (appraiser,broker,manager + admin to clone the demo's git repo). 

My concern was that we recently heard some rumors, that having more than 1 (of the 5 predefined BC roles) might lead to some undefined behavior.

It was one of the reasons why I contacted you and Edson by email to request the clarification about that. So you're saying, that having multiple business central roles is permissible?

Comment 5 Jan Hrcek 2014-04-22 04:48:11 UTC
The MortgageApplication process still uses the role manager for human task assignment. However now the necessary setup, including required roles is well described in the documentation [1], so I think this issue is no longer relevant.

[1] http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.0/html-single/Working_with_the_BPM_Suite_Example_App/index.html#Creating_users_and_roles

Comment 6 Kris Verlaenen 2014-06-16 13:14:19 UTC
Yes, you can have multiple roles.


Note You need to log in before you can comment on or make changes to this bug.