Archive for September, 2010

Updated skeleton task

Posted: 20 September 2010 in Uncategorized
Tags: ,

Have a look here

The skeleton URL task has been updated to allow workflow control with error handling.


When an external task is invoked from a workflow, the command is passed additional parameters.

These are:

  • The workflow job ID
  • The workflow task ID
  • The VPAth of the area in which the task is set to execute, as specified by the AREA V PAth property
  • the area relative VPath of each file attached to the task

For example, let’s say we have a little program that just says hello to a specific user to standard output. If the command is specified as follows:

$IW_HOME/iw-perl/bin/iwperl $IW_HOME/custom/bin/ $IW_USER

Then the final program invocation will look like this:

$IW_HOME/iw-perl/bin/iwperl $IW_HOME/custom/bin/ $IW_USER jobid taskid /default/main/acme/WORKAREA/someworkarea file1relativepath file2relativepath ...

Note that in this example, $IW_USER is part of the command property of the task and is not added by the system.