Bug 1043907

Summary: A task is not assigned to a variable user
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, mswiders, rzhang
Target Milestone: ER 7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:07:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ivo Bek 2013-12-17 12:40:45 UTC
Description of problem:

In my process definition I use #{actor} for a potential owner but when I want to get tasks for this user via REST or JMS API, the list is empty. In Business Central, the task is present in the Tasks List view.

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


How reproducible:


Steps to Reproduce:
1. Start a process with a human task for a potential owner #{actor}, where "actor" is a process variable.
2. Get a list of tasks via REST or JMS API for the user (actor variable) specified while you were starting the process instance.
3. See the list is empty.

Actual results:


Expected results:


Additional info:

Comment 2 Maciej Swiderski 2013-12-19 14:04:03 UTC
I cannot reproduce it anymore on 6.0.1 which will be ER7. Most likely it was fixed along the way with refactoring of human task (persistence and transactions).

When tried on 6.0.0.Final or 6.0.0-redhat-6 I was able to reproduce NPE during the test with REST remote client.

Marking it as modified to retest on ER7.

Comment 3 Ivo Bek 2014-01-06 14:04:09 UTC
Verified in BPMS 6.0.0.ER7