Page 1 of 1

create variable like flow name

Posted: 05 Feb 2015 09:30
by etaon
How create variable like {flow_name}?
I want create flows to ping many IP adress.
recieve sms with ip to create new flow with new ip.
Or better use file with many strings ip adresses?
In sms with ip write to end of file string.
Flow get from file strings and ping all.
If status changed of one ip(variable not = new status), write log hostping.txt.
write in variable or file "ip, status, time" and send sms to adresses from file 1-5 phone numbers.
Phone numb can change with sms command

Re: create variable like flow name

Posted: 05 Feb 2015 09:37
by etaon
Now created two flows.
First control wifi and start flows
Second and next like 192.168.100.1 ping adress like flow name and write log and variable..

Next i continue programming

Re: create variable like flow name

Posted: 05 Feb 2015 10:11
by Bushmills
consider to use a list instead of a variable. Those are better suited than variables for storing multiple items, and accessing items randomly or sequentially.