Having tried many times without success to pull file contents in through either of RM's built-in "Get" functions, my first impulse here is to recommend, in no particular order:
-
Use the built-in "Set Variable from Local File" feature in RM:
-
File Manager Device by @thebearmay which offers a "Read File" command.
-
Using a Hub Variable instead, since it's (a) readily editable, (b) holds quite a long string, and (c) with some copy/paste or var renaming, could accommodate pretty much any swap-out scheme you care to use in RM.
-
Writing a simple Groovy script (driver) with custom commands (e.g. Xmas, New Year, Independence Day, etc.) your rule could ping and return strings of commands via an attribute. Storing and parsing data objects in a script is quite straightforward and flexible.
And fully agree with earlier reply mentioning the Set Variable > Token feature in RM to iterate through your data points.