CacheControl/json-rules-engine

Using fact values in event parameters

LRuttenPostNL opened this issue · 1 comments

I've tried searching for it, but I couldn't find if it is somehow possible to use fact values in the event section of a rule. So something like:

 ....
    event: {
      type: 'myEventType',
      params: {
        myParam: {
            fact: 'myFact',
            path: '$.myPath' 
      } // Should resolve to a value in myFact

What would be the way to achieve such a thing?

nevermind, I was just looking not good enough. I see it mentioned here as well: #97