Details

    • Bug Priority:
      Category 3
    • ACT Numbers:

      00974791, 00981895

      Description

      Description

      When using the task query REST API from within an ADF application to show list task, access to the initiator of the workflow is required. The API response has a field called 'processInstanceStartUserId' but it is always set to null. Note that the same field does actually hold the initiator ID in other REST responses such as when getting a task.

      Supporting evidence

      Steps to reproduce

      1. Install vanilla OOTB APS v1.9.0.3.

      2. http://localhost:8080/activiti-app/#/login > Login in as admin@app.activiti.com (username) and admin (password).

      3. App Designer > Apps > Import App 'test.zip' and publish it > Create 3/4 tasks.

      4. Get taskId from:

      http://localhost:8080/activiti-admin/#/login > Login in as admin (username and password) > Tasks > Use any ID/

      5. Invoke http://localhost:8080/activiti-app/api-explorer.html#!/tasks/getTaskUsingGET > Response >

      processInstanceStartUserId = 1

      6. Invoke:

      http://localhost:8080/activiti-app/api-explorer.html#!/tasks/listTasksUsingPOST > tasksQuery >

      { "appDefinitionId": 3003 }

      Response is: processInstanceStartUserId = null

      [ Note ] : activiti-admin > Apps > App ID can be obtained from here.

      Expected behaviour

      processInstanceStartUserId should be set with the correct value.

      Observed Behaviour

      processInstanceStartUserId field value is null.

        Attachments

        1. aa-model3appdef.png
          aa-model3appdef.png
          76 kB
        2. aa-selectedTask.png
          aa-selectedTask.png
          95 kB
        3. aa-tasks.png
          aa-tasks.png
          79 kB
        4. test.zip
          4 kB

          Structure

            Activity

              People

              • Assignee:
                mhowarth Mark Howarth
                Reporter:
                gpaull Goarcharn Paull [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Structure Helper Panel