Hi All,
I need some design suggestions on my requirement below .
I have a excel which has around 1000 rows and has 5 columns . All four columns are some labels and the last column has VALUE(Sample below)
My requirement is to upload this excel file and save into Appian DB but before i save this data i want to perform some validations on VALUE column let say :
1. first 5 rows should fall into tolerance band of 100-200
2. Next five rows should fall into tolerance band of 10-35
3. first 5 rows should sum upto 100
If values doesn't pass above validations then i need to tell user to re upload the excel with correct values .
Thanks in advance
Discussion posts and replies are publicly visible
I'm not personally an expert in Stored Procedures, so I can't speak to whether the method suggested by Stewart above would be easier or not. For me, though, it would be harder than simply handling the logic within Appian.
Here's a quick breakdown of my suggested design/process flow:
A slightly simplified version of the process flow I'm thinking of is pictured here:
So this works too, but if the size (number of rows and.or number of validations that need to be applied gets very large then you need a blindingly fast way to achieve this, and that's when Stored Procs come into play, so I guess I was pre-empting these issues by suggesting the solution I did.
That makes sense. I guess it comes down to the data size/density/etc in the poster's "1000 row" excel sheet. I assume it'd need some testing out first.