# Lock File Action retains lock on file

**URL:** https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069
**Category:** Bugs
**Created:** [February 10, 2009, 10:09am UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069 "2009-02-10T10:09:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![devrieskok](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@devrieskok](https://www.finalbuilder.com/forums/u/devrieskok)
#### Post date: [February 10, 2009, 10:09am UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069/1 "2009-02-10T10:09:32Z")

</div>

Hi All,   
  
 Issue with Lock File Action in Finalbuilder 6.2.0.1074   
 I’m using a Lock File Action in an Action List which is triggered by a Run Action List   
  
 Main Action List   
 - My Action list   
 - - My Lock File Action   
 - - - XML Node Iterator   
 - - - - Read XML Action 1   
 - - - - Read XML Action 2   
 - - - - Exit Action List (since I want to process only the first XML node)   
  
 The Exit Action List is the last child action of the My Lock File Action. This should terminate the lock on the file but it doesn’t.   
  
 What am I doing wrong or did I find a bug.   
  
 I’m working on a test project to reproduce the issue   
  
 Regards Alfred

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 11, 2009, 9:39am UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069/2 "2009-02-11T09:39:51Z")

</div>

Hi Alfred   
  
 It’s a bug, the lock action doesn’t get told that it’s child actions are finished as the exit action list causes a major change in the process flow. This has now been fixed :   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/620/FB620\_1314.exe](https://www.finalbuilder.com/downloads/finalbuilder/620/FB620_1314.exe)

---

<div class="post-metadata">

### Author: ![devrieskok](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@devrieskok](https://www.finalbuilder.com/forums/u/devrieskok)
#### Post date: [February 11, 2009, 2:56am UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069/3 "2009-02-11T02:56:38Z")

</div>

Hi Vincent,   
  
 Thanks for the swift reply and fix.   
  
 Regards Alfred

---

<div class="post-metadata">

### Author: ![devrieskok](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/ecc23a/32.png) [@devrieskok](https://www.finalbuilder.com/forums/u/devrieskok)
#### Post date: [February 20, 2009, 12:11pm UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069/4 "2009-02-20T12:11:00Z")

</div>

Hi,   
  
 When using the Raise Exception actions as a child of the Lock File Action the lock on teh file is retained untill the project ands.   
  
 Regards Alfred

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 22, 2009, 11:31am UTC](https://www.finalbuilder.com/forums/t/lock-file-action-retains-lock-on-file/3069/5 "2009-02-22T11:31:59Z")

</div>

Thanks, will fix today and post here when there is a build with the fix.
