Select ACTIONS
To add an Action to your rule, proceed as follows:
- Select the Action from the drop-down menu.
- Press the ADD ACTION button and fill in the fields as required.
Each action can be listed more than once in the rule.
The Action drop-down menu lists the following options:
-
Zip file action command: configure the same service task parameters as Data One workflow.
Fields: Level, Strategy level and Output Filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
-
Rename file action command
Field: Destination Filename
You can configure the Destination Filename according to the filename that triggered the rule. In the Destination Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
-
Rename physical file action command
Field: Destination Filename
You can configure the Destination Filename according to the filename that triggered the rule. In the Destination Filename field, you can use 2 placeholders:-
${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
-
${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
In file routing, the action of renaming a physical file republishes the file and renames the original file on the filesystem.
-
-
Convert file action command
Fields: Input Code Page and Output Code Page -
Set generic metadata action command + Set DFIC attribute action command
These actions enrich the file metadata set.
Set generic metadata: adds user metadata to file metadata. Fields: Name and Value.
Set DFIC: adds DFIC user metadata (DFIC metadata Name) and its Value. -
Send mail with template and file
Fields: From*, Subject*, To*, Email templates (list templates to choose from).
The file will be automatically attached to the email. -
Convert EOL file command Unix2DOS or DOS2Unix
These actions convert EOL from Unix to DOS and vice versa.
Specify the codepage or charset id to be used as End Of Line and specify the source and target line endings.
Fields: Input Code Page, Output Code Page, Input EOL and Output EOL. -
PGP Encrypt file command + PGP Decrypt file command
This operation gets into the contents of the file. The parameters to be configured are the same parameters as the PGP encryption service task.
Fields PGP Encrypt: Alias Key, Output Filename, Recipient, Cipher Algorithm, Operation Security and Hash Algorithm.
Field PGP Decrypt: Output Filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
The decryption operation is done on the current file. Only the file name resulting from the decryption is needed.
-
Unzip file action command
Fields: Compression mode (ALWAYS, default) and Output filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
The decryption operation is done on the current file. Only the file name resulting from the decryption is needed.
-
Gzip file action command + GunZip file action command
Configure the same service task parameters as Data One workflow.
Fields: Level, Strategy level and Output Filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
-
Archive file command
This action moves the file from one virtual path to another. It does not create a new physical file with this name on the file system.
Fields: Actor, VFS, VFS path and Output Filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
-
Archive physical file command
This action copies the physical file to the indicated path.
Fields: Actor, VFS, VFS path and Archive Physical File Output Filename.
You can configure the Output Filename according to the filename that triggered the rule. In the Output Filename field, you can use 2 placeholders:- ${originalFileName}: the parameter is valued with the name of the file that triggered the rule.
- ${originalFileName_noext}: the parameter is valued with the name of the file that triggered the rule without an extension.
-
Execute script command
This command launches the execute script service task.
Fields: Executable (the script to be launched, complete with path), Arguments (the parameters to be passed to the script), Standard Error and Standard Output.
In this command, the parameters are only those specified in Arguments. -
Execute script command, include the original file in the parameters
Fields: Executable (the script to be launched, complete with path), Arguments (the parameters to be passed to the script), Standard Error and Standard Output.
In this command, the filename is the first parameter used by executable, automatically. It must not be configured in the parameter list.
Updated 2 months ago