Support Article
Release Lock does not work on service based request
SA-5341
Summary
In an IAC application, the motive is to acquire lock by making a service call and using the release lock activity. While passing the job id and the operator id in the request, requestors are unable to unlock the work object.
Error Messages
No Error Message.
Steps to Reproduce
1. Create a service package which calls an activity.
2. Have the activity to call release lock method on a page created by opening the work object by using Obj-Open-By-Handle and using the work object key.
3. Call the service from the IAC application and check the behaviour
Root Cause
On doing a normal service call without authentication will not be able to acquire the lock as it will seem as if the request is not coming from the same operator id. For 'Release Lock' functionality to work, it must be ensured that the operator is the same.
Resolution
Adding basic authentication to the service call resolves the issue.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.