The function is expected to implement the task’s logic. It consumes files bound to input slots and returns files bound to output slots according to its I/O schema. Those files are in the form of FileSet instances and can be fetched and pushed with the FileSet Manager utility.
The input arguments of the function are the FileSet instances bound to the input slots of the task.
The function has access to the following environment variables: