Attach Content - File System
This task is designed to grab a binary from the filesystem given a path set in the form field. The task will look for a file of the same name.
Configuration
To use this task go to the task tab in your job. Select the task from the drop down and click the plus circle to configure the task. Click done after making any changes to save.
Condition check
It will execute the task when the condition's result is 'true', 't', 'on', '1', or 'yes' (case-insensitive), or run on all conditions if left empty. This condition is evaluated for each document, determining whether the task should be executed based on the specified values.
Example: If I only want to run this task for PDF documents I would use the expression: equals('#{rd.mimetype}',"application/pdf")
Document field or expression for absolute path to binaries
-
Expressions should be used to set the path dynamically. ie /path/to/ + #{rd.FileName}
-
If there is no file at the specified path, the documents will be skipped.
-
If there is an error reading the file, an error will be noted in the tasks/job run.
-
If the task does not detect the use of an expression through the characters '${', it will search the document metadata for a field which contains the absolute path to the file.
API Keys
Processor: separateBinariesTask
Key |
Display Name |
Type |
---|---|---|
use_condition | Check a condition before executing this task. | Boolean |
task_condition |
Condition |
String |
task_stop_proc |
Stop Processing |
Boolean |
binary_path |
Document field or expression for absolute path to binaries: |
String |
Related Links