Petals SE Flowable

Unable to complete a user task directly assigned 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: Service engine
  • Security Level: Public
  • Description:
    Hide

    If a user task is directly assigned to a user, we are not able to complete the user task: Unexpected user to complete the task '%s' of the process instance '%s' by the BPMN engine

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

    We are able to complete 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 complete the user task: Unexpected user to complete the task '%s' of the process instance '%s' by the BPMN engine
    <userTask id="hotelBooking" name="Hotel booking by the traveller" flowable:assignee="${traveler}" />
    We are able to complete 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 - 17:26:52 +0100

A check to retrieve the user task is done relatively to 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 - 17:26:52 +0100 A check to retrieve the user task is done relatively to the Flowable's API: taskService.createTaskQuery().taskCandidateUser(bpmnUserId)... We should use: taskService.createTaskQuery().taskCandidateOrAssigned(bpmnUserId)...
Hide
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 17:36:56 +0100

Fix in branch PETALSSEFLOWABLE-55.

To merge in master branch

Show
Christophe DENEUX added a comment - Tue, 4 Dec 2018 - 17:36:56 +0100 Fix in branch PETALSSEFLOWABLE-55. To merge in master branch
Hide
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 12:09:01 +0100

Merged in master branch

Show
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 12:09:01 +0100 Merged in master branch
Hide
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 14:17:28 +0100

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

Show
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 14:17:28 +0100 Merged in branch petals-se-flowable-1.1.x

People

Dates

  • Created:
    Tue, 4 Dec 2018 - 17:25:04 +0100
    Updated:
    Wed, 5 Dec 2018 - 14:17:45 +0100
    Resolved:
    Wed, 5 Dec 2018 - 14:17:45 +0100