Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionDirectionTypeRequired
ConnectionSpecify the name of the connection (See How to setup a connection)InputStringYes
FileExtensionOnly file extensions that are specified can be uploaded. When none is specified, all file types are allowed.
File extensions should be without a dot, e.g. txt.
InputExpressionNo
MaxFileSizeOnly files smaller than the specified file size can be uploaded. This integer should be in bytes, e.g. 1048576.InputExpressionNo
PersistenceThe persistence parameter indicates whether the system should clean up files at the end of the session/request.InputDomainYes
MaxFileAmount

Provide how many files can be uploaded to this container. If -1 is provided there will be no limit. 

InputExpressionYes
UpdateFileIDSpecify the attribute containing the File ID when using the upload container for an update action. This is only relevant when using a single file upload.InputAttributeNo
CaseID

Specify the CaseId where the uploaded files belong to.

When using the Process-Engine the value of this field is set as process_id in the metadata

When using the Case-Engine, this field must be omitted. It will automatically be filled with the caseId during task execution.

InputExpressionNo
FileIDThe returned file id should be put in the specified attribute.OutputAttributeYes
FileName

The returned file name should be put in the specified attribute.

The entity of the attribute should be same as that of the FileID parameter.

OutputAttributeNo
FileType

The returned file type should be put in the specified attribute.

The entity of the attribute should be same as that of the FileID parameter.

OutputAttributeNo
FileSize

The returned file sizeshould be put in the specified attribute.

The entity of the attribute should be same as that of the FileID parameter.

OutputAttributeNo
FileCreatedBy

The returned user that created the file should be put in the specified attribute.

The entity of the attribute should be same as that of the FileID parameter.

OutputAttributeNo
FileCreationDate

The returned file creation date should be put in the specified attribute.

The entity of the attribute should be same as that of the FileID parameter.

OutputAttributeNo
AuthorizedRolesSelect roles that are authorized for this documentInputRole(s)No
RequiredWhen specified and evaluates to TRUE, the container validates if a file has been successfully uploaded before flowing to the next page.InputExpressionNo


Event

This container can contain an event: FileUploaded. With this event it is possible to perform a flow action after the upload of each file (only applicable when the set of files is ok). Note that for multiple files a repeat condition has to be stated which should be put on a sub-flow.

The Unauthorized exit is triggered when updating a file for which the user does not have one of the needed roles.

Warning
titlePreconditions

Modeling a precondition on the AQ_File_Upload containers which bases its condition on the Output parameters, results into that the events of the containers will not be executed.

Validation

Files that are uploaded through the file upload container are validated against the following checks:

...