Not sure if you figured it out yet, but I was having the same problem. Per one of your comments about handling the @FM
, are you doing that inside an Ereplace
function (e.g., Ereplace(<string>,@FM,'')
?
I had this in my StartLoop
activity and after trying several different things, I fixed the issue by adding a new UserVariables
activity in-between the command and loop and moving the Ereplace
function to it and then using the new user variable as the list in the loop.
Assuming this works for you too, your new flow will look something like this: exec command (where you pull the list and nothing more) >> user variables (create one variable with the Ereplace(<name>.$CommandOutput,@FM,'')
[replace the name with whatever you called your exec command] in the expression) >> start loop >> job activity >> end loop.
I haven't been able to find anything from IBM as to why adding that extra step works (hopefully someone else is more successful), but it's what did the trick for me.
Hope that helps.