Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4055

GET "instances/{processInstanceId}/timers" endpoint is not returning process SLA timers

    XMLWordPrintable

Details

    • False
    • False
    • ER1
    • +
    • Hide

      Steps to reproduce the issue (tested in RHPAM 7.11.1)
      --------------------------------------

      1) Download the reproducer from the attachment.

      2) Start RHPAM (kie-server).

      3) Open "createprocess.sh" and update host, port, credentials etc as per kie-server config.

      4) Run "createprocess.sh" script, confirm script is executed successfully and process instance and timer details detail is fetched.

      5) Timer response only returns task SLA timer, it doesn't return process SLA.

      {
        "timer-instance" : [ {
          "name" : "[SLA]Task",
          "id" : 2,
          "timer-id" : 0,
          "activation-time" : {
        "java.util.Date" : 1637931943760
      },
          "last-fire-time" : null,
          "next-fire-time" : {
        "java.util.Date" : 1637932243760
      },
          "delay" : 300000,
          "period" : 0,
          "repeat-limit" : -1,
          "process-instance-id" : 1,
          "session-id" : 4
        } ]
      
      
      Show
      Steps to reproduce the issue (tested in RHPAM 7.11.1) -------------------------------------- 1) Download the reproducer from the attachment. 2) Start RHPAM (kie-server). 3) Open "createprocess.sh" and update host, port, credentials etc as per kie-server config. 4) Run "createprocess.sh" script, confirm script is executed successfully and process instance and timer details detail is fetched. 5) Timer response only returns task SLA timer, it doesn't return process SLA. { "timer-instance" : [ { "name" : "[SLA]Task", "id" : 2, "timer-id" : 0, "activation-time" : { "java.util.Date" : 1637931943760 }, "last-fire-time" : null, "next-fire-time" : { "java.util.Date" : 1637932243760 }, "delay" : 300000, "period" : 0, "repeat-limit" : -1, "process-instance-id" : 1, "session-id" : 4 } ]
    • 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10), 2022 Week 05-07 (from Jan 31)

    Description

      Below end point is not returning timers for process SLA , it's returning timers for SLA set at task level.

      GET /server/admin/containers/{containerId}/processes/instances/{processInstanceId}/timers
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              rhn-support-sudnair Sudhish Nair
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: