Environmental Lock - Tech Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-03-19 04:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-03-19 06:18 PM
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-08-19 02:50 PM
Environment Locks - Acquire Lock Action - Timeout Parameter Issue
I've come across the situation where i wanted to release the lock automatically after few minutes. So I'm passing 5 minutes as time span for Timeout parameter while acquiring the lock, but its not working. Lock is not getting released after 5 minutes, its showing in the locked state. Would anybody have any insight into what may be causing this? We are currently running BP V6.4. Thanks in advance.
------------------------------
Sachin J
RPA Modeler
BNY Mellon Technology
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-08-19 02:56 PM
That Timeout parameter is the same as the maximum wait time in a Wait Stage when looking for an element, except that in the case of the Acquire Lock action, it doesn't throw an error if it doesn't get the lock in that amount of time. It just continues on the process flow and you need to use a decision stage to determine if the lock was acquired.
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-08-19 07:42 AM
------------------------------
Sachin J
RPA Modeler
BNY Mellon Technology
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-08-19 07:46 AM
If you could provide a screenshot of the Blue Prism steps and parameters of the "Acquire Lock" action it would make the trobuleshooting easier.
Based on your description it seems like the next stage after "Acquire Lock" leads to populating the queue, I recommend having a decision stage checking whether any Token was generated after running "Acquire Lock". If a token wasn't generated, add a retry loop with some wait time (perhaps using the "Sleep" action in "Utility - Environment") or use the input parameter in the "Acquire Lock".
/Joakim
------------------------------
Joakim Eklund
Senior RPA Developer
Swedbank AB
Europe/Stockholm
------------------------------
