Document Size Validation

Certified Senior Developer

Hi All,

I have to provide document size validation in file upload field like if uploaded document is more than 10 MB,I will display the validation error.

I have two buttons Submit and Cancel ,and for each the submit parameter is set as true() .

For submit button the validate parameter is true() and for cancel button the validate parameter is false().

So ,when the user uploads more than 10MB,they not able to submit until they reduce the doc size and for Cancel we are not saving the document into Database.

But here I am facing the below issue,

When the user clicks on Cancel ,it not writes in Database as expected ,but it saves in the Appian folder, since it goes out of the node.

So please help me if there is any way to avoid saving this file in Appian folder if document size is more than 10MB.

Thanks in Advance!

  Discussion posts and replies are publicly visible