JimsEvilTwin Posted September 16, 2013 Posted September 16, 2013 I'd like to generate an e-mail that tells me the True/False status of two programs. I see that ${sys.program.#.status} will work for the program generating the notification, but is there a similar substitution for "program X?" I've tried several variations such as ${sys.program.ProgramX.status}, etc.
oberkc Posted September 17, 2013 Posted September 17, 2013 I don't recall whether I have used this, but there is a program (true or false) condition which I assume can be used to trigger an email message. I can only assume (without refreshing my memory) that is works similar to a "status" in that it would trigger only when changing status .
Xathros Posted September 17, 2013 Posted September 17, 2013 JimsEvilTwin- The # in the alert variable need to be the Decimal value of the program ID. So, if the program you want the status of is ID: 000A then the variable should be: ${sys.program.10.status}. Leaving the '#' in the variable seems to be shorthand for ID of the calling program. -Xathros
JimsEvilTwin Posted September 20, 2013 Author Posted September 20, 2013 Thanks, Xathros! That works great!
Recommended Posts