/
Live Flag
Live Flag
The live flag is a boolean parameter that is used by functions to control their running state in the Translator editor. This means you can set functions to be live=true
to have them run in the Translator (editor mode) and or live=false
to be inactive.
This is very useful when working in the Translator with any networking or database related functions.
The Slack Notifier component in the Translator, demonstrates this concept well as you may want to temporarily switch off the function sending the Slack messages to not be inundated with notifications while you edit the script.
-- Set live=false to switch off messages
local R, Out = S:message{channel=ChanId, text=Text, live=false}
This is a similar concept to Executing code in Test versus Live.
, multiple selections available,
Related content
Executing code in Test versus Live
Executing code in Test versus Live
More like this
Notifications
Notifications
More like this
Configuration Management
Configuration Management
Read with this
SLACK Library
SLACK Library
More like this
Slack Notifier Adapter
Slack Notifier Adapter
More like this