I want to wait for some time for one min in the UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 03:16 AM
I want to wait for some time for one min in the UI action ,we have some integration has been set up.
Hence user should wait for one min on the ui action code
Note: i have tried with gs.sleeep(60000) tried screen hanging for one min
please suggest is there any other approches are there to wait for one min.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 04:01 AM
What exactly are you waiting for? A minute is a very long time. What is your UI action doing?
Wouldn't it be better to call a flow from the UI action in which you put the wait? We don't know what it is you are trying to achieve or what process you are working on, so maybe I am missing something. But having a user wait for a minute is really long.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 10:21 PM
actually before moving to authorise status ,we have some integration to move some of fields(for example risk value) to another service now instance..we already informing alert to wait to some values to bridge to another instance.
users are not waiting ,so we need to force wait for the one min to not have integration issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 12:37 AM
This sounds like a process waiting to fail. I don't know your setup and what is going on, but people are not going to wait 60 seconds for a state change. I don't know what it is that needs those 60 seconds (values coming back or other integrations that are triggered), but I would see if you can do that all under water instead of putting it on the user side. Do some queueing or put a wait in the integration, but people will click away their screens.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark