Hello,
I would like to list all flows within all Groups.
SCRIPT:
backups=getFlowNamesByGroup(Backups); // Contains 1 flow
battery=getFlowNamesByGroup(Battery); // Contains 6 flows
//
back=length(getFlowNamesByGroup(Backups);
batt=length(getFlowNamesByGroup(Battery);
NOTIFICATION ON SCREEN:
{battery[00]}
{back)
{batt}
TOAST gives:
{error}
0
0
QUESTION:
What should I expect to see from the SCRIPT?
I'd guess I'd see a list of flows within each group. Is that right?
Thanks
Husky
How getFlowNamesByGroup works?
Moderator: Martin
How getFlowNamesByGroup works?
"Basic research is what I'm doing when I don't know what I'm doing"
Re: How getFlowNamesByGroup works?
Hi,
The name of the group needs to be a string. Something like this should work:
-action Notification on Screen: {backups}
Regards,
Martin
The name of the group needs to be a string. Something like this should work:
Code: Select all
backups=getFlowNamesByGroup("Backups");
Regards,
Martin
Re: How getFlowNamesByGroup works?
Martin,
Thanks again.
I should have thought about the " around the Group Name.
Living and learning..
Thanks
Husky
Thanks again.
I should have thought about the " around the Group Name.
Living and learning..

Thanks
Husky
"Basic research is what I'm doing when I don't know what I'm doing"