Petals SE Flowable

Unable to retrieve task assigned directly to a user

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.1.2
  • Component/s: Integration service
  • Security Level: Public
  • Description:
    Hide

    If a user task is directly assigned to a user, we are not able to retrieve the user task with integration service TaskService.getTasks:

    <userTask id="hotelBooking" name="Hotel booking by the traveller" flowable:assignee="${traveler}" />

    We are able to retrieve user task only if the user task is assigned to candidate users or groups.

    <userTask id="transmitTravellingTickets" name="Transmit tickets to the traveller" flowable:candidateGroups="administrative-offices" />
    Show
    If a user task is directly assigned to a user, we are not able to retrieve the user task with integration service TaskService.getTasks:
    <userTask id="hotelBooking" name="Hotel booking by the traveller" flowable:assignee="${traveler}" />
    We are able to retrieve user task only if the user task is assigned to candidate users or groups.
    <userTask id="transmitTravellingTickets" name="Transmit tickets to the traveller" flowable:candidateGroups="administrative-offices" />
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 18:21:50 +0100

Tasks are retrieved using the Flowable's API: taskService.createTaskQuery().taskCandidateUser(bpmnUserId)...

We should use: taskService.createTaskQuery().taskCandidateOrAssigned(bpmnUserId)...

Show
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 18:21:50 +0100 Tasks are retrieved using the Flowable's API: taskService.createTaskQuery().taskCandidateUser(bpmnUserId)... We should use: taskService.createTaskQuery().taskCandidateOrAssigned(bpmnUserId)...
Christophe DENEUX made changes - Tue, 4 Dec 2018 - 18:21:50 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Major [ 3 ]
Christophe DENEUX made changes - Tue, 4 Dec 2018 - 18:21:52 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 18:41:43 +0100

Fix in branch PETALSSEFLOWABLE-56.

To merge in master branch

Show
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 18:41:43 +0100 Fix in branch PETALSSEFLOWABLE-56. To merge in master branch
Christophe DENEUX made changes - Tue, 4 Dec 2018 - 18:41:52 +0100
Fix Version/s 1.2.0 [ 10870 ]
Hide
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 12:10:49 +0100

Merged in master branch

Show
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 12:10:49 +0100 Merged in master branch
Hide
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 14:18:51 +0100

Merged in branch petals-se-flowable-1.1.x

Show
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 14:18:51 +0100 Merged in branch petals-se-flowable-1.1.x
Christophe DENEUX made changes - Wed, 5 Dec 2018 - 14:18:57 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.1.2 [ 10927 ]
Fix Version/s 1.2.0 [ 10870 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
41s
1
Christophe DENEUX
Tue, 4 Dec 2018 - 18:21:50 +0100
Open Open In Progress In Progress
2s
1
Christophe DENEUX
Tue, 4 Dec 2018 - 18:21:52 +0100
In Progress In Progress Resolved Resolved
19h 57m
1
Christophe DENEUX
Wed, 5 Dec 2018 - 14:18:57 +0100



People

Dates

  • Created:
    Tue, 4 Dec 2018 - 18:21:09 +0100
    Updated:
    Wed, 5 Dec 2018 - 14:18:57 +0100
    Resolved:
    Wed, 5 Dec 2018 - 14:18:57 +0100