SystemLink Forum

annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Notification templates

Résolu !
Accéder à la solution

Hi,
I'm looking into Notification template and am wondering how to mention the tag name that has the actual alarm.

The help documentation only mentions the value and the system (specifying-notification-settings)

 

My use case is:

I have multiple systems, each system monitors assets. I want to notify the user which asset has an alarm.

 

Thanks.

Regards,
André (CLA, CLED)
0 Compliments
Message 1 sur 4
3 221 Visites

Unfortunately, I don't think you can specify the tag path in the template.  That is probably just an oversight on our part and I'll look at seeing if we can get it added in a future release.

 

In the meantime, you can specify any property you want on the tag (i.e. label or display_name) and include that as an argument < > in your template.

0 Compliments
Message 2 sur 4
3 201 Visites

Do mean that in case my tag has a property called "type" I can add <type> in my message and it will be replace by the value in an actual notification?

 

What happens if the property doesn't exist for a tag?

Regards,
André (CLA, CLED)
0 Compliments
Message 3 sur 4
3 190 Visites
Solution
Accepté par l'auteur du sujet andre.buurman@carya

Yes. If you put a property in brackets (ex: <prop_name>), it will inline the value of that property in the email it sends out. You can use that to include the name of the tag by including a property called something like "name" with its value being the tag's name. 

 

If the property doesn't exist on the tag, the email will include the actual bracket as a string and won't try to replace the bracket with a value. 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

Message 4 sur 4
3 182 Visites