hi
i m using an external task to get the the task's associated with the workflow .finally trying to write the output that are (task's IDs) to a text file using redirect operator in dos.
the external task command is:
CMD.EXE /C $IW_HOME\local\bin\Test1.cmd
and the file Test1.cmd is like this
setlocal
set branch=%1
set iwhome=%2
set task=%4
%iwhome%\bin\iwgetfilejobs %branch%/WORKAREA/myworkarea/htdocs/index.html>C:/iw-home/local/bin/test123.txt %iwhome%\bin\iwcallback %task% 0
The problem is that when we instantiate the workflow ,the task runs and the output file(i.e txt file ) also gets created but without any contents(means to say blank file)...But when we try the command directly on server it executes and also creates the ouput file with the associated task id's.
can somebody let me know what's wrong with the approach...or their is any other approach to followed ......?
thanks in advance......