Ui-Path : Apps [Accessibility]

In my UiPath Apps, I have created an app where I want to set a condition such that if one user is using the app and another user tries to access the same app at the same time, the second user will receive a popup message stating, “This app is already in use.”

If anyone has a solution, please post it here.

Thanks,
Sayali

hi @sayali.p

create an asset: AppInUse: False.
On Your start page, Start a process: In this process Just use a Get asset activity:
Check its value.
if False: Let the user access it and update asset to True.
If True: Send a message saying : App is already in use.

Make use of a Logout or free Resource kind of button and there you should set the asset value to False. Else no one else would be able to access the app.
Session management has to be done using time limit. that logic needs to be implemented.

This could alternatively be done using Data Service as well.
The data service will have only 1 record.

:slight_smile:

@sayali.p ,

May I know use case why you need to implement this into apps?

Actually I’m just checking if it’s working or not…

Thanks , I’m trying this