Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

wWhat is Task Unpacker?

Task Unpacker is an IWS object, which allows you to receive the incoming archive, unzip it and save unzipped files into a temporary folder in outgoing, so that other objects and/or workflows can process them. Supported archive formats include ZIP, TARGZIP, TAR, GZIP.

...

Next, double-click the Subprocess object to name them and configure their properties. When you are done, return to the main worksheet.


In our example, the archive is awaited to have a name _test_funds_20150108.zip, for example, with a varying timestamp.
To make the Task Unpacker receive it, a Data object should be placed on the worksheet and its file mask should be defined. Link it with the Task Unpacker afterwards.


The data files inside are going to have the following names: fund_hierarchy_20150108.csv and fund_relations_20150108.xml, for example.
To make the subprocesses work them up, drop two more Data objects(one for each of the data files), define the file masks awaited and link them (you create an incoming link from Task Unpacker to each of Data shapes and then create an outgoing link from Data shapes to the corresponding Subprocess). Now, your workflow should resemble this:

...