Page 2 of 2

Posted: Fri Oct 10, 2014 10:17 am
by Bostonian
Excellent. That works. Thank you, chulett.

Posted: Fri Oct 10, 2014 10:35 am
by chulett
Excellent. For posterity's sake and anyone who stumbles across this thread in the future, can you share what part of all that was the actual solution in your case? Thanks.

Posted: Fri Oct 10, 2014 1:26 pm
by Bostonian
Here is my design.

Execute_command --> UserVariable --> StartLoop --> Job_Activity.

EC runs the ls abc*.txt

UV runs Field(Convert(@FM, ",", Execute_Command_0.$CommandOutput), ",", 1, Count( Execute_Command_0.$CommandOutput,@FM))

SL uses the output of UV as counter

JA has 2 input parameters. In Param 1, I am populating the SL.Counter. Param 2 is populated as Field(StartLoop_Activity_8.$Counter,'-',2,1).

If my file name is abc-123_1.txt then
JA.Param1 = abc-123_1.txt
JA.Param2 = 123