Objective - To clear locks older than 1 hr via web-application based tool.
Current scenario: We are clearing locks manually by one web application based tool by clicking clear workflow lock by IDs button if any locks are exists.
Use case -
There is a DB table by name workflow lock which contains locks information. Need to clear the locks older than 1 hr via web based tool if exists or else check again in 2hrs.
If lock exists then BOT should go to web application tool and click clear workflow lock by IDs workflow button.
Requesting to please share for steps or any alternative approach to achieve this use case. Thanks in advance.
Connect to db and use run query to get the lock time details and if locks are available
2.If available go to step 3 else stop the bot
Open the application and connect or login to app
Navigate to the locks page…and if the time different between current time and time from db is greater than 1 delete the locks using the id in selector or any other reliable way
Close the applications
Schedules of 1 hours or so can be done from orchestrator