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

Merge before/after date criteria in search

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7.0, 7.7.0-alpha1
    • Component/s: cockpit
    • Labels:
      None

      Description

      Currently, the search criteria options that were introduced in CAM-7111 have two entries, e.g. "Execute Job Before" and "Execute Job After". There should be only one entry "Execute Job" and the operator should be a dropdown containing "before" and "after".

      See the implementation of the Start Date or End Date criterium for reference.

      This affects:

      • On the processes dashboard: Execute Job and Execute Activity
      • On the decisions dashboard: Evaluated

        Issue Links

          Activity

          Hide
          valentin.vago Valentin Vago added a comment -

          Not sure this is the way to go...
          Unless you can make a request with the same criterion used twice (or have a criterion which would accept date range) because in order to have the "drill down" feature (CAM-7111) you need to pass 2 dates.

          Show
          valentin.vago Valentin Vago added a comment - Not sure this is the way to go... Unless you can make a request with the same criterion used twice (or have a criterion which would accept date range) because in order to have the "drill down" feature ( CAM-7111 ) you need to pass 2 dates.
          Hide
          sebastian.stamm Sebastian Stamm added a comment -

          Compare it with how Start Date is implemented in the process instance search. You have one criterium with two operators (before and after). You can then create two search pills with the same criterion (one with the before operator and one with the after operator). Then, when building the JSON payload to send to the server, the two criterions are split so that in the request JSON, they are represented as StartDateBefore and StartDateAfter.

          Show
          sebastian.stamm Sebastian Stamm added a comment - Compare it with how Start Date is implemented in the process instance search. You have one criterium with two operators (before and after). You can then create two search pills with the same criterion (one with the before operator and one with the after operator). Then, when building the JSON payload to send to the server, the two criterions are split so that in the request JSON, they are represented as StartDateBefore and StartDateAfter.
          Hide
          valentin.vago Valentin Vago added a comment -

          OK, sounds sexy. I'll have a closer look.

          Show
          valentin.vago Valentin Vago added a comment - OK, sounds sexy. I'll have a closer look.
          Hide
          valentin.vago Valentin Vago added a comment -

          Let's not do this for now (as discussed with Daniel)

          Show
          valentin.vago Valentin Vago added a comment - Let's not do this for now (as discussed with Daniel)

            People

            • Assignee:
              michael.schoettes Michael Schoettes
              Reporter:
              sebastian.stamm Sebastian Stamm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: