Results 1 to 3 of 3

Thread: DecideMacroState exception

  1. #1
    Automated Home Sr Member Alexc's Avatar
    Join Date
    Apr 2013
    Posts
    82

    Default 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.

  2. #2
    Automated Home Legend Karam's Avatar
    Join Date
    Mar 2005
    Posts
    818

    Default

    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.

  3. #3
    Automated Home Sr Member Alexc's Avatar
    Join Date
    Apr 2013
    Posts
    82

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •