Uploaded image for project: 'Insight Core - Server'
  1. Insight Core - Server
  2. ICS-945

Automation rules on object update that updates the object causes an infinite loop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Affected Version:
      INSIGHT 5.6.1
    • Resolved Version:
      INSIGHT 5.6.2

      Description

      This is regarding automation rules and groovy scripting where the groovy script updates one or more attribute of the already updated object with the method ObjectFacade.storeObjectAttributeBean

      Steps to reproduce

      1. Create a groovy script that updates an object attributes value through the facade method storeObjectAttributeBean
      2. Create an automation rule that triggers on Object Updated and executes the groovy script
      3. Update an object

      Expected result
      The groovy script is executed for each update of the object

      Actual result
      The groovy script is executed repeatedly for infinity

        Attachments

          Activity

            People

            • Assignee:
              ola Ola Melin [Riada]
              Reporter:
              ola Ola Melin [Riada]
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: