Skip to main content
Version: 19

Upload a dossier to a file server

Business goal​

This action allows an export of a dossier to be saved on a file server. The exported dossier will be saved in a JSON format.

Configuration​

  • Add the action UploadDossierToFileServer.
  • Link this action to an appropriate event

Settings​

  • providerIdentifier: Required setting pointing to the provider used to store the file on a file server.
  • filename: Required setting that defines the filename of the uploaded file. Supports the following contextual placeholders:
    • ${externalReference} for the external identifier of the dossier (if not available will use the dossier number instead).
    • ${dossierNumber} for the dossier number.
    • ${timestamp} for the time of upload (UTC in format yyyyMMddHHmmss).
  • exportIncludes: A list that defines what data should be included in the export.
  • gatewayVersion: Defines which version of the Gateway API is used to construct the JSON format.

Example​

{
"className": "eu.myharmoney.app.bll.executors.dossierstatustransition.UploadDossierToFileServer",
"settings": {
"providerIdentifier": "<FTP_PROVIDER_IDENTIFIER>",
"filename": "dossier_${dossierNumber}_${timestamp}.json",
"exportIncludes": [
"PARTY_INFO",
"RBA",
"PARTY_RELATED_PARTIES",
"UBO",
"DOSSIER_EXTERNAL_INFORMATION",
"INTERMEDIARY",
"FISCALITY",
"PARTY_BANK_ACCOUNTS",
"DOSSIER_BANK_ACCOUNTS",
"PARTY_EXTERNAL_INFORMATION",
"INSURED_PERSON",
"OWNER",
"RESPONSIBLE",
"BENEFICIARY",
"DOSSIER_RELATED_PARTIES"
],
"gatewayVersion": "V4"
},
"type": "EVENT",
"value": "DOSSIER_APPROVED",
"synchronous": false,
"enabled": true
}