New Line character on Windows
Moderators: chulett, rschirm, roy
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
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