Hi everyone,
Im using an User Input Task with a!fileUploadField. What I need is to verify that the Excel uploaded does not contain mor than 500 rows so the user cannot submit the form. But as the file is temporary I cannot access to its information, and I alreay saw that it is not possible using a!submitUploadedFiles function. Any ideas for solving this?
Thank you!
Discussion posts and replies are publicly visible
You cannot access temporary file data before submission, implement a two-step validation process where the first User Input Task allows file upload and submission using a!submitUploadedFiles() to save the file to the system. After submission, use Excel Tools plugin functions like readexcelsheetpaging() in your process model to count the rows, then route to a second User Input Task that either displays a validation error message if rows exceed 500 or allows the user to continue with the process if the file meets the criteria.Make user feel like process not 2 steps.