I am new to Uipath. Is there any way to display the loading screen while Uipath performing something in background. In background im running java code. Any workaround or can we achieve this in UIPath
Well as a workaround I guess you could use the parallel
activity. On the left side you could load a browser with a loading spinner or whatever type of "loading screen" you want to design.
As long as UiPath is running in the background and you are not interfering with the UI then your "loading screen" will remain on top. In the following example, an Open Browser
activity is used to display a loading screen while the robot processes the data in parallel. Once the data has finished processing the loading screen is closed using a Close Tab
activity called outside of the parallel
activity.
You could even use the Inject Js Script
activity to control window size and positioning and a timed Click
activity to return the loading screen to the top should focus be lost at any stage during processing.
Apart from this solution and probably a more recommended approach would be to build a custom UiPath activity in .NET, which would have the functionality you require. Refer here to get started with UiPath custom activities.
The only workaround that I can think of is to make this java code itself displays this loading screen.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With