1 Reply Latest reply on Dec 6, 2017 1:39 PM by Aaronius9er9er9er

    Can a Launch rule 'self-inspect' ?

    stewarts16448458 Level 4

      Is there a way to self-inspect from within a rule condition?

       

      For instance,

           1) Can I access the rule name and log it to the console?  

       

           2) Within a custom event rule can I get at the event type on which the condition will be met?

          

      in other words ,

       

      if (_satellite._container.rules[0].events[0].modulePath === "core/src/lib/events/customEvent.js")  {

           console.log ( _satellite._container.rules[0].events[0].settings.type );

      }

       

      Yes, I know these are internals.  I'm wondering if the information is accessible in a supported manner.