Start Loop Activity Stage - want to source a parmfile.txt
Posted: Tue Jan 17, 2006 1:10 pm
I'm working on a JobSequencer that calls a server job inside a loop. It's possible to use the Start_Loop_Activity stage to pass delimited parameter values to a server job inside a loop, one for each trip through the loop. But I want to get the parameters from a text file.
I've tried to do this in the GUI designer, but I can't seem to figure out how to do it. I've tried giving the path and file to the Start_Loop_Activity stage, along with a carriage return/newline delimiter, but I haven't been able to make it work. So I'll probably just code this.
Has anybody come across a way to get the Start_Loop_Activity stage to source a set of parameters directly from a text file?
For example, here's what I would put in a text file:
Row1 - Parameter1_value, Parameter2_value
Row2 - Parameter1_value, Parameter2_value
Row3 - Parameter1_value, Parameter2_value
Thanks,
Lynda
I've tried to do this in the GUI designer, but I can't seem to figure out how to do it. I've tried giving the path and file to the Start_Loop_Activity stage, along with a carriage return/newline delimiter, but I haven't been able to make it work. So I'll probably just code this.
Has anybody come across a way to get the Start_Loop_Activity stage to source a set of parameters directly from a text file?
For example, here's what I would put in a text file:
Row1 - Parameter1_value, Parameter2_value
Row2 - Parameter1_value, Parameter2_value
Row3 - Parameter1_value, Parameter2_value
Thanks,
Lynda