Petals SE Flowable

Improve assertion 'assertCurrentUserTask'

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.1.2
  • Component/s: Unit test fmk for SU
  • Security Level: Public
  • Description:
    Hide

    The assertion 'assertCurrentUserTask' checks only if the given user is a candidate for the current task of the process instance.

    But it should checks that the current has been claimed or assigned to the given user or waiting to claim by the given user (candidate user or groups).

    Moreover, it will be very user-friendly to return the current task. In this way, we could directly complete the task after the assertion.

    Show
    The assertion 'assertCurrentUserTask' checks only if the given user is a candidate for the current task of the process instance. But it should checks that the current has been claimed or assigned to the given user or waiting to claim by the given user (candidate user or groups). Moreover, it will be very user-friendly to return the current task. In this way, we could directly complete the task after the assertion.
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Thu, 22 Nov 2018 - 09:28:49 +0100

Improved in master branch

Show
Christophe DENEUX added a comment - Thu, 22 Nov 2018 - 09:28:49 +0100 Improved in master branch
Hide
Christophe DENEUX added a comment - Wed, 5 Dec 2018 - 12:03:28 +0100

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

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

People

Dates

  • Created:
    Fri, 16 Nov 2018 - 17:20:29 +0100
    Updated:
    Wed, 5 Dec 2018 - 12:03:36 +0100
    Resolved:
    Thu, 22 Nov 2018 - 09:28:49 +0100