Hello,
I am looking for any references and examples of receiving a broadcast message from the Automate application.
Thank you.
Hello,
I am looking for any references and examples of receiving a broadcast message from the Automate application.
Thank you.
Add a Broadcast Send block in Automate. Then in Input Arguments add these:
"org.kustom.action.SEND_VAR"
{"org.kustom.action.EXT_NAME": "automate", "org.kustom.action.VAR_NAME": "NAME_OF_VARIABLE", "org.kustom.action.VAR_VALUE" : "VALUE"}
NOTE:
"automate"
with any name you prefer, but you must replace the name in kustom also.as int
: VALUE
. e.g. "org.kustom.action.VAR_VALUE" as int: 1234
Add a text item, then in formula editor add this:
br(automate, NAME_OF_VARIABLE)
Note:
NAME_OF_VARIABLE
is the variable name we set in automate "org.kustom.action.VAR_NAME": "NAME_OF_VARIABLE"
.Hi rahatulgazhi,
Thank you for your response & reference.
Best regards,
Baju