Logic Machine Forum
How add aditional info to push notifications - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: How add aditional info to push notifications (/showthread.php?tid=2835)



How add aditional info to push notifications - AlexLV - 09.09.2020

Hi,

time ago I added push notifications to customer. He receives messages. But sometimes messages coming with delays, is possible to add time and date in to message and also group values? Trying to insert in message time and something else - anyway receiving just text message without additionally added info..
May be somebody can explain how to do my task..

BR,

Alex


RE: How add aditional info to push notifications - Daniel - 09.09.2020

You can build the string by combining many variables. As a result it still must be a string. Same way like you would make an alert.


RE: How add aditional info to push notifications - AlexLV - 09.09.2020

Thank you Daniel,

I will integrate my data in my text message Smile

Alex


RE: How add aditional info to push notifications - balatis - 13.09.2020

(09.09.2020, 07:08)Daniel. Wrote: You can build the string by combining many variables. As a result it still must be a string. Same way like you would make an alert.
Hi
Can you give as an example?
Thanks


RE: How add aditional info to push notifications - Erwin van der Zwart - 13.09.2020

objectdata = grp.find('1/1/1')
msg = 'The value of ' .. objectdata.name .. ' is ' .. tostring(objectdata.value)


RE: How add aditional info to push notifications - balatis - 13.09.2020

(13.09.2020, 18:24)Erwin van der Zwart Wrote: objectdata = grp.find('1/1/1')
msg = 'The value of ' .. objectdata.name .. ' is ' .. objectdata.value
Thanks Erwin!