Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12559

withoutTenantId and tenantIdIn can't be combined within orQueries

    XMLWordPrintable

Details

    Description

      Given

      • Task 1 has tenantId=null
      • Task 2 has tenantId=exampleTenant

      When

      • Do the REST call
        POST /task
        {
            "orQueries": [
                {
                    "withoutTenantId": true,
                    "tenantIdIn": [
                        "exampleTenant",
                        "testTenant"
                    ]
                }
            ]
        }
        

      Then
      Only Task 1 with tenantId=null is returned

      Expected
      Task 1 and Task 2 are returned

      Hints:
      When doing withoutTenant check the tenantIds is set to null in TaskQueryImpl

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              nikola.koevski Nikola Koevski
              michal.dytko Michal Dytko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce