Alert Handle test
- HenkS
- Posts:3
- Joined: Wed Jul 22, 2015 11:57 am
Alert Handle test
Is there a way to test (in script) if a Dpe has a alert handle configured? 
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Alert Handle test
Hello,
you can make a dpGet() on the attribute _alert_hdll.._type.
If the value is unequal to 0 the config exists.
When you want to getthe information for several datapoint elements you can also use a dpQuery() command with a suitable FROM and WHERE statement.
Best Regards
Leopold Knipp
Senior Support Specialist
you can make a dpGet() on the attribute _alert_hdll.._type.
If the value is unequal to 0 the config exists.
When you want to getthe information for several datapoint elements you can also use a dpQuery() command with a suitable FROM and WHERE statement.
Best Regards
Leopold Knipp
Senior Support Specialist
- HenkS
- Posts:3
- Joined: Wed Jul 22, 2015 11:57 am
Re: Alert Handle test
Thanks!
Works like a charm! :cheer:
Works like a charm! :cheer: