Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-5943 Time-Based Goal Setting
  3. OPT-6075

Add endpoint for individual process goal evaluation

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.8.0
    • None
    • backend
    • Not defined

      For the goal setting modal, we would need to present the current success/failure of the goals being set. For this, we need a new endpoint to evaluate the goals specified.

      Request:

       

      POST /api/process/{processDefinitionKey}/goals/evaluate

       

      Request:

       

      [
        {type: 'targetDuration', percentile: '75' , value: '5', unit: 'days' },
        {type: 'slaDuration', percentile: '99' , value: '5', unit: 'days' }
      ]

       

      Response:

       

      [
        {}{"type""targetDuration",  "value": 43243242342, "successful"true},
        {}{"type""slaDuration",  "value": 213123123, "successful"false}
      ]  

       

       

      200 - OK: Goals evaluated
      400 - Bad Request: The parameters are invalid
      404 - Not Found: the process definition does not exist
      401 - Unauthorized

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: