System and Scan parameters
System parameters
In selected places like a Recipient in Email destination or a Path in Folder destination you can use the System parameters. Such system parameters will be replaced by the value from currently performed scan.
- [flow_name] - name of selected scan workflow
- [device_name] - name of device where was performed scan*
- [device_ip] - IP address where was performed scan*
- [device_location] - location of device
- [user_name] - user name**
- [user_department] - user department**
- [user_login] - user login**
- [user_email] - user primary email address**
- [user_homedir] - user home folder**
- [timestamp] - current date in the following format: YYYYMMddHHmmss
- [current_year] - current year in the following format: YYYY
- [current_month] - current month in the following format: MM
- [current_day] - current day in the following format: DD
- [current_hours] - current hours in the following format: HH
- [current_minutes] - current minutes in the following format: mm
- [current_seconds] - current seconds in the following format: ss
- [filename] - absolute path to the scanned file in temp location: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\optimidoc\
- [metadata] - absolute path to the metadata of the scanned file in temp location
- [file_name] - original file name
- [file_name_extension] - original filename with extension
* can be used only for documents captured via multifunction device interface.
** for usage in HotFolder is necessary to specify login parameter.
Scan parameters
Next to the system parameters you can use also the values from the entered scan workflow parameter. To put the current value, enter field parameter key value in the following format [key_value].
Barcodes
Last parameter are the values of recognized barcodes. To use the value, enter [barcode].
Operations with bar codes.
Barcode substring
[barcode;<first_character>;<last_character>]
example:
[barcode;1;3] - returns substring from fisrt letter to third letter
with barcode 65874113 returns the example 658
Barcode sepatartion
[barcode;<separation_character>;<barcode_part>]
example:
[barcode;-;3] - returns third part of barcode
with barcode 658-741-13 returns the example 13
Conversion tables
Barcodes substring or part can be converted by a conversion table. OptimiDoc uses the Lists Scan Parameters as a conversion table, which means that the barcode will be replaced by value of item from list with same key as the barcode value.
[barcode;<separation_character>;<barcode_part>;<scan_parameter_key>]
or
[barcode;<first_character>;<last_character>;<scan_parameter_key>]