Home
TeamSite
User unable to remove the lock acquired by the workflow
anjani
Hi,
I am using workflow modeler 1.0.0.1 with Teamsite 6.7.1 SP1 on solaris enviournment.
I have found a strange behaviour and i am not sure it's a teamsite bug or i am doing some thing.
I have created a workflow. In the workflow i am using workflow modeler "Lock Task" to acquire lock on the dcr which is in workflow. The owner of the lock task is $IW_USER. Every thing is working fine.
When i am passing the dcr through workflow, i can see in the properties of the dcr that "Lock grabbed by workflow ". But when the user is explicitly Killing the job from GUI, then the dcr is still in locked state and the message "Lock grabbed by workflow " in the properties for the dcr still remains there.
But the main problem is that the user who initiated the job ( ie- who acquire the lock on the dcr) is unable to unlock the dcr but the master user is unable to unlock the dcr.
I am not sure how the Lock Task in the workflow modeler is working.
Can anybody please help me to resolve the issue.
Any help or pointer will be appreciated.
Thanks in advance,
A.S.
Find more posts tagged with
Comments
moonkhanna
I believe the lock is being tranferred to another user who is owner of another task. Thats why Master user is able to unlock the file but the IW_USER is not..
attach your ipm to the post if you are not able to find..
nipper
This is why, using WFT, there is a script in iwhome/local/bin called unlock.ipl. Since the workflow does not always have the permission to unlock specific files, this script will.
Locks are there for a good reason, so you need to know when it is used. But it is a good tool to have.
moonkhanna
Andy,
the wfm would unlock the files on END JOB generally. Not sure, why anjani is facing this issue.. we will come to know when we see the ipm
nipper
Yea, but *how* is the user killing the workflow ? If you have a cancel task, then you can end it cleanly. But if the user just clicks end job, then the WF will not have the opportunity to unlock the files.
moonkhanna
Hi Andy,
In WFM, it does unlock the files even when the user clicks END JOB