Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The default workflows in Atoti Limits contain user tasks that let users save files at every point in the workflow. This includes when users:- approve limits
- reject limits
- review breaches
- comment on warnings
Default behavior
By default, when a user saves an attachment, the files are saved in the system where Atoti Limits is deployed, relative to the location of the executable starter jar. This is based on the value of theactiveviam.apps.workflow-service.settings.file-storage-path property, which defaults to ./limits/workflow/attachments.
Then, if a user saves a file in a workflow action, Atoti Limits will:
- Check if the folder specified by
activeviam.apps.workflow-service.settings.file-storage-pathexists. - If not, Atoti Limits will create the folder.
- Atoti Limits will save the file under a timestamped folder, to prevent unintended overwrites.
- The path of the file will be saved as a workflow variable for future retrieval.
Change the folder location
If you want to change the folder location, modify the value of theactiveviam.apps.workflow-service.settings.file-storage-path
property. This value can be absolute or relative.
Customize the save mechanism
If you want to customize the save mechanism, add your own implementation ofIWorkflowFileStorageService and expose it as a Spring Bean.
IWorkflowFileStorageService
IWorkflowFileStorageService
Save files remotely
To save files to a remote drive location rather than a machine-specific location, for example, a Google Drive or Microsoft Sharepoint, we recommend you use the Attachment Link feature rather than the Attachment feature. This will give you more control over your files. To do so, you should:- Save the file to your remote drive.
- Save the attachment link in your workflow.
FAQ
What should I do if Atoti Limits says my file is too large?
What should I do if Atoti Limits says my file is too large?
Large files can cause performance degradations on your server. To help prevent this, we impose that:
- Your file must not be larger than the value of the
spring.servlet.multipart.max-file-sizeproperty, which defaults to1MB. - Your request must not be larger than the value of the
spring.servlet.multipart.max-request-sizeproperty, which defaults to10MB.
application.yml.Why do I not have access to the attachment?
Why do I not have access to the attachment?
You may not have access to the folder where the attachments are saved. If so, please contact your
system administrator.