File locked to me

Discuss your general Proclaim related queries here.
Post Reply
rajeev108
Posts: 275
Joined: Sat Feb 11, 2012 9:17 am
Has thanked: 9 times
Been thanked: 1 time

File locked to me

Post by rajeev108 » Thu Dec 06, 2018 1:26 pm

I am executing a simple linked action which exports a job's history and imports it in another case. It all works fine. However, when I go into the target case where the history has been imported, it says it is locked by me and only allows me to open it in read mode. As you can see from the code, I have tried various things but the STATUS always shows it is locked my me. Any suggestions as to why this may be happening?

Code: Select all

IF {Target Case Number.Text} <> "" THEN 
    EXPORT( {case.key} , "HISTEXP" , "no" ) 
    #   OPEN( {Target Case Number.Text} , "" ) 
    CALL-MATHS( {Target Case Number.Text} , "M Import Quote" ) 
    UPDATE( {Target Case Number.Text} , "UNLOCK" ) 
    STATUS( {Target Case Number.Text} ) 
    #   CLOSE( {Live Case Number.Text} ) 
    MESSAGE( RETURN-VALUE ) 
END 
Regards
Rajeev

Huntyuk
Posts: 2
Joined: Tue Jul 03, 2018 1:38 pm

Re: File locked to me

Post by Huntyuk » Tue Jan 22, 2019 9:50 am

probably resolved by now - but do you have the import job running on the task server? it usually locks the file if theres a pop up off the back of the import job thats just sat there on the server

rajeev108
Posts: 275
Joined: Sat Feb 11, 2012 9:17 am
Has thanked: 9 times
Been thanked: 1 time

Re: File locked to me

Post by rajeev108 » Tue Jan 22, 2019 10:30 am

I could not work out the reason but I don't think it is what you suggest. I think it was something to do with CALL-MATHS. I just got rid off it to make it work.
Regards
Rajeev

Post Reply