The Zurich release has arrived! Interested in new features and functionalities? Click here for more

how to make a form load slower

DevtoSME
Giga Guru

Hello all,

 

 i m working on a progress tracker that will show the timestamps or visual representation of the uploads of a excel. currently i have a HTML fields that's  PARSING THE ROWS AND SHOWING THEM IN INCRIMENTS BUT I ALSO WANT A PROGRESS BAR TO DO THE SAME. I HAVE A BUSINESS RULE CREATED TO slow down the uploads to see the timestamps for end users/visibility. I'm not sure its done correctly but i wanted to get input on if anyone's

(function executeRule(current, previous /*null when async*/) {

	// Add your code here
	var time = 0;
	while(time < 11800000) {
		time++; 
	}

})(current, previous);

 

 

done something similar?

 

1 REPLY 1

GlideFather
Tera Patron

Hi @DevtoSME,

 

have you tried this?

gs.sleep(1000); //1 second
gs.sleep(2000); //2 seconds

 

But if I remember correctly, this was not recommended approach... found this explanation:

https://www.linkedin.com/posts/anveshkumarmupparaju_servicenow-activity-7327264865130029056-x6Cr 

 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */