Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1692

Make QueryFilter type an enum

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • L3 - Default
    • 2.3.0
    • None
    • backend
    • None

    Description

      In Decision/ProcessVariableQueryFilter and other places around the code base we currenty have a switch blocks that check the variable type which is a bare string.

          switch (dto.getType().toLowerCase()) {
            case "string":
      ...
      

      We should make the type strict using an enum.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce