The %var macro variables are only valid for use in the EA-setting properties.If you're looking for a CGI-like screen, use the CGI task with your URL and then find the task ID as a request parameter. From there, you should be able to find any path you need.If you're actually using a URLExternalTask, then you're going about it the wrong way. The URL should always be the same (http://$IW_SERVER/iw-cc/urlexternaltask) and you specify your class with the ClassName task variable. From there, your class implementing URLExternalTask will have an execute() method that gets a CSTask object. From that you can again find any path you need.
The only alternative to Java is PERL. Either way, you have to think of the workflow as a way to model the flow of your business process. It's not some kind of magic swiss army knife of implementation. Any custom things like calling web services is up to you to do.The fastest/easiest way to redirect the browser to another URL while passing the filename, is to use a CGI task with a simple PERL script. Your PERL script will be given the task ID. From this, use TeamSite::WFtask to resolve the task object and get the attached files. Then, use an HTTP Location redirect to go to your aspx page, with the filename parameter on the query string. Note that with this solution, something somewhere is still going to have to callback the workflow when you're aspx is done.Note that I said 'fastest' and 'easiest', not 'best' or 'most robust' or 'best suited to your purposes'.
Thanks for your responseCurrently Iam using the script $cgi = new TeamSite::CGI_lite; $cgi->parse_data(); $taskId = $cgi->{form}{task_id}; $task = TeamSite::WFtask->new($taskId); @files = $task->GetFiles();But @files stores number of files.How can I get names of each files
ThanksLike you said I got the file names in aspx page.Their I had done some conversons processes.My problem is how to callback the workflow and continue with next task