Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Compression is used to compress a file into a zip file. Similarly, Decompression is used to extract the file from a ZIP file. 

To use Compression/Decompression:

  1. In Web Process Designer, click Repository View icon. All the items in the Activities category are displayed.
  2. Expand CompressionService



  3. Click Compression and drag it to the Canvas area.



  4. Drag the target activity to the Graph Canvas area.
  5. Connect all the activities in the Canvas area.



  6. Double-click the Compression activity to display the Activity Properties panel.



  7. Type $$Service.<SourceActivityName>.fileName$$ as a value in the FileName field to override the file name while compression.

    Alternatively, you can enter the name of the file in the FileName field. In this case, the file inside the zip will be of the name given in the Compression activity. The name specified in the File Target activity will be the name of the compressed target file.
  8. Similarly, you can use the Decompression feature before the target activity to extract the zip file.

    While Decompressing, you have to use put-context-var before the target activity and type the $$Service.<DecompressionActivityName>.fileName$$ as a value to override the FileName variable of the target activity. 

  • No labels