Genpact Cora Knowledge Center

Support

Put File Activity Overview

Context

The Put File Activity exports one or more files (attachments or array of bytes) from Cora SeQuence to an external storage system.  

Add a New Connection to an External Storage System

First, you define a connection to an external storage system.

Supported Storage Systems

  • Azure Blob Storage
  • Azure File Storage
  • FTP
  • SFTP
  • Network Drive

Define the File Export

Details Tab

ParameterDescription
Put File Activity Parameters - Details Tab
Connection to File StorageConnection you defined to the external storage system.
Target PathPath to the folder where you want to export the file to. It is appended to the connection you defined to the external storage system. There are a couple of ways to define the target path. You must use forward slashes (/) when you define the target path. 
  • Manually: type a target path in the field.
  • Expression: define the target path from a previously returned value in the workflow.
    For example, a path returned from a Web Service Listener Activity.

Example: https://{externalstoragesystem}/Approved_Claims

Source File(s)The file(s) that you want to export from Cora SeQuence to an external storage system.

To define the source file(s), enter an expression that returns one of the following types of data: 
  • A GUID of an attachment or a list of GUID of attachments
  • Content of a file in form of byte array
  • Any dynamic object that contains the following  properties:
    • FileName (string)
    • Content (byte[])


Advanced Options Tab

ParameterDescription
Put File Activity Parameters - Advanced Options Tab
Target File NamesNames of files you want to export.
If file existsIn the case that the external storage system you selected does not support exporting multiple files, you can replace the files or skip the file export.


Want to learn by doing? 
Check out this hands-on exercise.
Note that only internal users can access the link.