The Job Setp FilenameSetter allows to set the filenames of the attachments in a message explicitly.
Properties | |
---|---|
Name | Description |
Type | Class name of the jobstep |
Name | Name for the jobstep that will appears in the job designer |
Description | Optional description for the jobstep |
Replace bad character | Remove characters that may cause problems when used in filenames. |
Only empty file names | If true it will only set empty filenames and will not overwrite attachments with filenames. |
Matching filenames | A regular expression to limit the replaced filenames. E.G. ∧foo.*bar$ to replace only filenames beginning with foo and ending with bar. |
Matching ignore case | Ignore case for checek matching filenames |
Use file mask | If set the File mask as defined in containerizer 'File mask' can be used, e.g. ${TradingPartnerName}. To evaluate interchange and document specific values the first document in the attachmet is use, if exists. |
Filename | The new filename definiton. Default value is ${orig}. You can use following placeholder ${cnt}: a zero based sequencenumber of the attachments in the message, ${orig} the current filename of the attachment. |
Note:: To replace only bad characters, set: