Arnab Biswas (ArnabB98)
Tata Consultancy Services
Senior System Architect
Tata Consultancy Services
ArnabB98 Member since 2014 1 post
Tata Consultancy Services
Posted: July 22, 2019
Last activity: January 31, 2020
Posted: 22 Jul 2019 8:34 EDT
Last activity: 31 Jan 2020 8:27 EST

FileUpload within Threshold time limit

System should display alert and cancel the transaction if user trying upload excel file and system take longer than thresh-hold time to load the file data.

Not able to figure out a OOTB solution. Analysis is in Progress. Tried this kind of solution below , when the time is elapsed then we can put a break statement. But while the thread of execution is on parsing of the file or on attaching the data to pyAttachStream of Data-Work-Attach-File class. How can we bring the point of execution to this while loop. More- Over I am having doubt on how to determine where the time is taken more, is that the parsing time or the attaching time to clipboard.

long start = System.currentTimeMillis();
long end = start + 60*1000;
while (System.currentTimeMillis() < end)
Can anyone help.
***Edited by Moderator Marissa to update platform capability tags****
Low-Code App Development System Administration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.