Watcher: How to execute "condition" after "transform"?

in Elastic Watcher, we have a situation whereby I need to do some transform and calculate some value. Once calculating these values, I need to do the condition logic

But it seems like condition is executed BEFORE transform. Is there any way I can make the condition after transform? or any tips?

So currently i'm looking to do..

  "transform": {
      "script":
      """
      'someCalculation': 1000,
      """
   },
  "condition": {
    "compare": {
      "someCalculation": {
        "gt": 99
      }
    }
  }

but the someCalculation is NOT available for the condition

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.