Scripting status of server
Scripting status of server
Any way to script the status of a flow? The Switch clients and other software can contact the Switch server and get information out. I'd like to build a tool that would easily show me the status of a flow, if its running or not. Does anyone know how to get information from the Switch server via HTTP? I know the web services module could probably do some of this but I'd like to take advantage of the parts already available.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Scripting status of server
As you expected there is indeed a GetFlowState in the web services module, but there is no such thing in the scripting part. This is also not surprising because you need an external source to check for this: if the flow status check were part of a (separate) flow the check would only work if that flow were running, so you would have to check the check (and so on).
Freddy
Freddy