Good morning,
We're in the process of developing a script that is called from a custom menu item. This is available from alarm contexts only. We wish to pass a number of arguments, including the alarm title, to the script. A simplified example:
<launch-web-server-script>
<command>D:/Program Files/Python39/python.exe D:/scripts/myScript.py {0}</command>
<param>
<attribute>AlarmAttrID.CAUSE_TITLE</attribute>
</param>
</launch-web-server-script>
The alarm title that is being passed isn't always the title being displayed in OneClick. Specifically, if we have some event rules that pass text into field 76620, this is not being used.
Is there a technique we can use to pass the dynamic alarm title to the script, or is there a way we could obtain the dynamic alarm title in the backend script (perhaps via a REST API?)
Regards,
Neville
------------------------------
Solution Designer
KCOM Group Limited
------------------------------