Compare dynamic values with contents of textfile
Posted: Tue Sep 04, 2012 9:58 pm
Hello all,
I'm trying to compare dynamic values A with the contents of a multi-line textfile. If value A matches with one of the entries (B) in the textfile, then route incoming jobs to this (folder 1); else route them to another connection (folder 2).
I tried to create the connection which reads the 'define text with variables' on the left side of the comparison window. But how to define (at the right side) to walk through all entries/lines (until end of file) in the mutli-line textfile and compare each line separately with the value read before, if it matches or not?
It it possible to realize this challenge with switch features only or is there need of javacript?
Thomas
I'm trying to compare dynamic values A with the contents of a multi-line textfile. If value A matches with one of the entries (B) in the textfile, then route incoming jobs to this (folder 1); else route them to another connection (folder 2).
I tried to create the connection which reads the 'define text with variables' on the left side of the comparison window. But how to define (at the right side) to walk through all entries/lines (until end of file) in the mutli-line textfile and compare each line separately with the value read before, if it matches or not?
It it possible to realize this challenge with switch features only or is there need of javacript?
Thomas