Classic Customization Waiting Screen/cursor for External REST call

I am using stream writer and reader to perform external calls and response handling on a custom form…

My user wants to click the “Rate” button several times because the call and response isn’t done within 3 seconds…

Anyone have any idea how to prevent them from sending 20 rest calls because the first rest call doesn’t finish in 3 seconds?

-Utah

Is this in Classic? If so Button.Disabled=true :smiley: (its a bit of a hammer but it works) then when you get the response Button.Disabled=false;

If this is Kinetic… then… :sob: ? ← Cry a lot cause tis all Async and not easy to hammer.

2 Likes

Thanks, wanted your opinion on it specifically so thanks for taking the time to respond.

I wasn’t sure if there was a more elegant way to do it or if disabling the button was something that is generally done because there isn’t a more elegant way. Thanks Jose!

I see, yeah the async thing would throw a wrench in it.

I tried to give my users a more elegant solution before they ignore it and caused problems cause button pushing is a non treatable disease . So now I put them in Jail (Disable their stuff) and Display an Epicor Tips Screen (not joking) until my process is done :joy:

They refused to just “let it run” so now they get to read Epicor Tips instead

3 Likes

That’s great hahaa!

Maybe I’ll start small and just disable the button for now! That waiting screen is out of my realm right now in terms of coding expertise. Thanks again Jose.

It was a lot of work and mostly a punishment for not listening :joy: I had given them a button that did the generation and told them to work on something else (in epicor) just leave that screen alone… while it works it had a progress bar… They didn’t care continued closing the screen, or hitting other buttons…

So Jail it is :zipper_mouth_face:

3 Likes

Too good man I’m still smiling and laughing at it.

rip torn throw GIF

1 Like

More like this since its async @Mark_Wonsil

1 Like

image

Truly, this is magnificent.

1 Like

Did you add your own tips?

1 Like