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

withoutTenantId and tenantIdIn can't be combined within orQueries

XMLWordPrintable

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: