Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to build a changable text string for the Mailer object in Lookout

I am using the Mailer object to send alarm messages to the operations personel via their cell phones. We need to be able to select who is on the send list (Ex: via Switch object) so that people on vacation, days off etc will not be bothered by the messages. Any ideas on how to handle this?
0 Kudos
Message 1 of 2
(3,061 Views)


Hi,

I would suggest you explore the possibility of using a DataTable Object for this. Especially if you have a bunch of personnel.

You can have the operators listed (their email address I guess) in one column (with .txt type for the cells). And have a second column: tie a switch to each of the cells in this column. This column will represent whether or not the operator is available. You flip a switch on a panel to represent the availability of the operator and the cell's value changes to OFF, for instance.

The next step would be for your mailer object (or something preceding it) to pick only those personnel from the first column of the DataTable whose second column value is ON (or TRUE) at that point of time.

This may be setup by using t
he DataTable cursor and a Counter to march down the rows, checking for Column two's value in that particular row. I will have to give some thought as to how exactly the logic would work -- this is more of a "chalkboard answer" ..for now.

Hope this gives you some ideas.

Regards,

Khalid


Message 2 of 2
(3,061 Views)