BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  IBM BAW 22 - process portal - display all tasks

    Posted Thu December 29, 2022 05:01 AM
    Hi!
    I have a very big problem after migrating BPM from version 8.5.5 to BAW 22. I have a saved search on the process portal, which shows me the tasks of all users broken down by process. After migration, this search has stopped working and it only shows me my tasks and the team tasks I belong to. It stopped showing other users tasks. I tried to fix this error in different ways but nothing works. Can anyone help?

    ------------------------------
    Łukasz Piotrowski
    ------------------------------


  • 2.  RE: IBM BAW 22 - process portal - display all tasks

    Posted Thu December 29, 2022 05:16 AM
    Hi Łukasz,

    Can you please share the saved search definition JSON retrieved from REST API ?


    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------



  • 3.  RE: IBM BAW 22 - process portal - display all tasks

    Posted Thu December 29, 2022 06:04 AM
    Edited by Michael Brown Thu December 29, 2022 06:15 AM
    Yes, of course. It's my saved search:
    {
      "status": "200",
      "data": {
        "id": "1002",
        "name": "IBPM_TASK_ST_ALL",
        "owner": "Lukasz.Piotrowski",
        "organization": "byTask",
        "shared": true,
        "teams": [],
        "size": 10000,
        "interaction": "all",
        "fields": [
          "taskSubject",
          "taskStatus",
          "taskClosedDate",
          "instanceId",
          "economicUnit@String",
          "bpdName",
          "fixedAssetName@String",
          "lastModification@String",
          "assignedToRoleDisplayName",
          "applicationStart@String",
          "instanceStatus",
          "assignedToUser",
          "taskReceivedFrom",
          "taskClosedBy"
        ],
        "aliases": [
          {
            "field": "economicUnit",
            "alias": "Economic unit"
          },
          {
            "field": "fixedAssetName",
            "alias": "Fixed ssset name"
          },
          {
            "field": "lastModification",
            "alias": "Last modification"
          },
          {
            "field": "applicationStart",
            "alias": "Application start"
          }
        ],
        "sort": [],
        "conditions": [
          {
            "field": "instanceName",
            "operator": "StartsWith",
            "value": "ST"
          }
        ]
      }
    }​

    On BPM 8.5.5, this query returns me all tasks, all users. In BAW 22, it returns me only my tasks and my team. If the task is assigned to another user, the query will not return it to me.

    I will add that I am a member of the groups: tw_admins, tw_author, tw_saved_search_super_admins, tw_process_owners, tw_portal_admins.



    ------------------------------
    Łukasz Piotrowski
    ------------------------------



  • 4.  RE: IBM BAW 22 - process portal - display all tasks

    Posted Thu December 29, 2022 07:18 AM
    If I remember correctly, this feature has been changed from v8.5.7 onwards. There is another deprecated REST API, Task Query Entity List which supports interactionFilter=ADMINISTER, this will return all tasks.
    To display in the Process Portal, you can probably create a service implementing TWSearch API.


    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------