Bug 1267164 - Make Task admin configurable
Make Task admin configurable
Status: ASSIGNED
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: jBPM Core (Show other bugs)
6.1.0
Unspecified Unspecified
medium Severity unspecified
: ---
: ---
Assigned To: Maciej Swiderski
Radovan Synek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-29 04:12 EDT by Anton Giertli
Modified: 2016-03-18 10:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anton Giertli 2015-09-29 04:12:56 EDT
Description of problem:

Currently the Task admin is set by default to value "Administrator".

It is possible to change this value to a different one, but only for one Task at a time - via Task input parameter
https://github.com/droolsjbpm/jbpm/blob/6.2.x/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/util/PeopleAssignmentHelper.java#L108


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

6.1.x
How reproducible:
always

Steps to Reproduce:
1. Try to change Task admin to a different value for:

 -- whole process
 -- whole project (deployment)
 -- globally for whole business-central


Actual results:
It is not possible to change Task admin value for a whole process / project / business-central (users have to do it manually for every task)

Expected results:
It is possible to configure Task admin for a whole process / project / business-central via some config option - i.e. kie-deployment-descriptor.xml or System property


Additional info:
There is a workaround for this issue - drop similar DRL file under workbench/WEB-INF/classes
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/test/resources/simple-add-task-rules.drl#L47

This will change the Task admin globally for whole business-central - this approach is not very user friendly, hence this should be considered only as a workaround.

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