Versions Compared

Key

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

...

Action name

DynamicHistory

Class name

com.cdrator.main.history.action.DynamicHistory

Available from core version

8.7

Description

Creates a history record for a specific account based on provided parameters.
The "account" argument is mandatory.
The type argument is optional.If not provided the default value is "Account".
The object argument is optional.If not provided the default value is the account argument's value.
The createdBy argument is optional.If not provided the default value is the broker's username.
The comments argument is mandatory and it needs to include any eventual dynamic text already replaced using the argument's MVEL expression or in a previous workflow activity.
The tag argument is optional and it needs to include any eventual key-value parameters whose dynamic values are already replaced in the argument's MVEL expression or in a previous workflow activity.
If the tag includes any parameters the tag's key needs to be prefixed with txt=§ and suffixed with § and surrounded by < and >.Ex. txt=§<CORE_HIS_ADV_BG_MAKE_PAYMENT>§;BALANCE=1.8704;BG=32522997
If the tag does not include any parameters the tag's key needs to be surrounded by < and >.The prefix txt=§ and the suffix § are not mandatory if the tag has no parameters.

Return value

History: The history record that was created

Properties

 

Parameters

  1. Account: account
  2. String: type
  3. PersistentObject: object
  4. String: createdBy
  5. String: comments
  6. String: tag

Util - File

SaveStringToFile

...

Action name

...

CreateTarGZip

Action name

CreateTarGZip

Class name

com.cdrator.util.file.action.CreateTarGZip

Available from core version

8.7

Description

Creates an archive (extension = .tar.gz) from given files.

Return value

File:

Properties

 

Parameters

  1. List: files
  2. String: pathDestinationFolder
  3. String: filenameWithoutExtension

DeleteAllFilesInFolder

Action name

DeleteAllFilesInFolder

Class name

com.cdrator.util.file.action.DeleteAllFilesInFolder

Available from core version

8.7

Description

Deletes all files inside given folder path

Return value

void:

Properties

 

Parameters

  1. String: pathFolder

GetAllFilesInsideFolder

Action name

GetAllFilesInsideFolder

Class name

com.cdrator.util.file.action.GetAllFilesInsideFolder

Available from core version

8.7

Description

Returns all files found in specified folder and subfolders.

Return value

List: Returns a list of java.io.File objects found inside given folder.

Properties

 

Parameters

  1. String: pathFolder

CopyFileToFolder

Action name

CopyFileToFolder

Class name

com.cdrator.util.file.action.CopyFileToFolder

Available from core version

8.7

Description

Copy the given file to specified destinationFolder. File will be copied with the same name and same file attributes.

Return value

void:

Properties

 

Parameters

  1. File: file
  2. String: pathDestinationFolder

DeleteFiles

Action name

DeleteFiles

Class name

com.cdrator.util.file.action.DeleteFiles

Available from core version

8.7

Description

Delete given Files

Return value

void:

Properties

 

Parameters

  1. List: files

SaveStringToFile

Action name

SaveStringToFile

Class name

com.cdrator.util.file.action.SaveStringToFile

Available from core version

8.7

Description

Write the content of the parameter archive to the local file specified in file path.

Return value

void: No value returned

Properties

  1. encoding: Encoding used for the file
  2. filePath: Path to file

Parameters

  1. String: archive

CreateFileControlWithMD5Checksum

Parameters

Action name

CreateFileControlWithMD5Checksum

Class name

com.cdrator.util.file.action.SaveStringToFileCreateFileControlWithMD5Checksum

Available from core version

8.7

Description

Write the content of the parameter archive to the local file specified in file pathCreates a control file containing two lines with two fields per line separated by pipe. Information on this lines is: fullname of the tar.gz file and it's MD5 checksum, and on the next line fullname of the description file and it's checksum.

Return value

voidFile: No value returned

Properties

  1. encoding: Encoding used for the file
  2. filePath: Path to file

 

Parameters

  1. File: archiveTarGz
  2. File: fileDescription
  3. String: pathDestinationFolder
  4. String: archivefilenameWithoutExtension

GetBase64EncodedDoc

Action name

GetBase64EncodedDoc

Class name

com.cdrator.util.file.action.GetBase64EncodedDoc

Available from core version

8.7

Description

Encode the doc archive in base64

Return value

String: return a base64 encoded string

Properties

 

Parameters

  1. DocArchive: docArchive

CreateFileDescription

Action name

CreateFileDescription

Class name

com.cdrator.util.file.action.CreateFileDescription

Available from core version

8.7

Description

Creates description file for given files. This file should contain: number of listed files on the first line. Follow-up lines should contain full filename (one per line)

Return value

File:

Properties

 

Parameters

  1. List: files
  2. String: pathDestinationFolder
  3. String: filenameWithoutExtension

MoveFileToFolder

Action name

MoveFileToFolder

Class name

com.cdrator.util.file.action.MoveFileToFolder

Available from core version

8.7

Description

Moves the given file or folder to specified destinationFolder. If file exists it will be replaced. When trying to move a folder, operation will fail with DirectoryNotEmptyException if folder exists in destinationFolder

Return value

void:

Properties

 

Parameters

  1. File: file
  2. String: pathDestinationFolder

Util - Amount

TruncateAmount

...