Package: com.suncode.plugin.tools.scheduledtask.ArchiveDecryptionTask
Available from version: 1.0.28
The task decrypts encrypted files in the selected document class in the archive. The search for files is limited to the given date range (file creation date). The task has a built-in timer after which it stops running. The time limiter can be set using the parameter, giving a numerical value that specifies the maximum duration of the task in hours. Logs from the decryption process are saved in the system table Tab_4 "pm_encryption_task_log"
Parameter name | from version | Description | The type of the parameter | Notes and Restrictions |
---|---|---|---|---|
Document class name* | 1.0.28 | The name of the class in which the files will be encrypted | String | |
File creation date (from)* | 1.0.28 | Minimum file creation date | Date | |
File creation date (until)* | 1.0.28 | Maximum file creation date | Date | |
Maximum task runtime (in hours)* | 1.0.28 | The scheduled task will be terminated after exceeding the specified hours execution time | Number | |
Maximum number of files processed in parallel* | 1.0.28 | Maximum number of threads used to process files. The value should be in the range 1 - 50. | Number | The more threads, the faster the operation, but it also places a heavy load on the server |
Progress logging interval [seconds]* | 1.0.28 | The time between logging file processing progress, counted in seconds. The log is displayed if the number of processed files has changed. | Number | The absolute value of a given number is taken. For value 0, 1 second is inserted. |
Turn off the task when finished* | 1.0.28 | A parameter that allows you to disable a scheduled task after it is properly run for the first time. Useful when the launch is scheduled in the future and we want to disable it after the first launch | Boolean | Values: true/false |
Index Mapping | 1.0.30 | Sets the selected indexes in the document class for the file being processed. Regardless of which version of the document is being processed. If a document has 5 versions and only the middle version file (e.g. version 3) is found and processed. The indexes on the document will update to the specified version. In short: Any document being processed will update the index on the document. | String | JSON format in the form {"indexName": "value"} {"status":"Deszyfracja","number":"123","time":"2022-01-12"} |
1.0.28 (applicable documentation)
- Create a scheduled task
1.0.29 (applicable documentation)
- Addition of a table with logs
1.0.30(applicable documentation)
- Assing parametr Index Mapping