Hi
I'm struggling to set a user variable in a job which references another user variable (VC 5.5.5)
basically i have 4 tasks...
first task does a PGP decrypt of the file received by a trigger and captures the std output
C:\Dev\Airtime\trunk\RunTime.annexures\Applications\Airtime\VisualCRON\SupplierImports\CellC\cellc_enc_OrdX.pgp > C:\Dev\Airtime\trunk\RunTime.annexures\Applications\Airtime\VisualCRON\SupplierImports\CellC\Airtime_TestFile.txt
the second task uses a regular expression to retrieve the resultant file into a user variable X, using a Set Variable Task ie
{REGEX(Replace|{TASK(c307490f-d1d9-46f7-a44e-78a545ddf6cc,StdOut)}|^.*>\s+|)}
the third task (Set Variable) attempts to split the file path up into another variable Y i.e.
{PATH(GetFileName|{USERVAR(X)})}
the problem is that X is correctly initialised whilst Y ends up null or empty.
BTW I am being forced to use this approach because the 4th task which processes the file builds a fairly long commandline which ends up with \n being embedded after certain parameters???? The 4th task process correctly if i hardcode the command line.😠