Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

...

To use Compression/Decompression:

  1. In the Web Process Designer, drag the required file source activity in the Graph Canvas area.In the Repository View panel, expand Activities > click Repository View icon. All the items in the Activities category are displayed.
  2. Expand CompressionService

    Image Added

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

    Image RemovedImage Added

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

    Image RemovedImage Added

     


  6. RightDouble-click the Compression activity and select View Properties. Properties of the activity are displayed in the Properties Panel.to display the Activity Properties panel.

    Image Added

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

    Info
    Alternatively, you can enter the name of the file in the fileName fieldFileName 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.

    Info

    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 FileName variable of the target activity.