DecideMacroState exception

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Alexc
    Automated Home Sr Member
    • Apr 2013
    • 82

    DecideMacroState exception

    Hi all

    Anyone know why my macros have suddenly stopped working?!

    For example, when a relay is triggered, the macro runs, checks something else, and sends an email. In the communication window I see the macro runs, then says ‘DecideMacroState exception’.

    What does this mean?

    Thanks.
  • Karam
    Automated Home Legend
    • Mar 2005
    • 863

    #2
    I believe this means that the e-mail item being triggered is confused about the triggering object (Macro) state. For non abstract objects this is usually quite obvious. For a macro you will have to explicitly tell the e-mail object being triggered that the macro is the sender and that the trigger value is 'True'. You do this by opening the e-mail trigger object item in the macro and then in the 'Trigger as if originated from this object' drop down list select the name of the macro itself and ensure that Macro 'state' output is set to True.

    Comment

    • Alexc
      Automated Home Sr Member
      • Apr 2013
      • 82

      #3
      Thanks Karam. That solved it.

      Some macros were set to 'All', some to 'Nowhere', and some (those that worked) to the specific object. All working now!

      Alex

      Comment

      Working...
      X