Page 1 of 1

Get status of ANY flow

Posted: 22 Jan 2014 21:20
by ZSasha
Would it be possible to add a function to get a status of a/all flows?

Something like "Init Variable Flow List" that could return a list of ALL flows in a system?
and then "Get Flow State" to see whether a flow is enabled/disabled/executing

Thanks.

Re: Get status of ANY flow

Posted: 22 Jan 2014 21:27
by Martin
There's a script-function to get all flow names:
action Script: flow_names = getFlowNames();

...and a condition to check if a flow is enabled or disabled:
-condition Flow Enabled: FlowXYZ

...and a condition to check if a flow is executing:
-condition Flow Executing: FlowXYZ

Regards,
Martin

Re: Get status of ANY flow

Posted: 22 Jan 2014 21:34
by ZSasha
Thanks Martin!