# FinalBuilder Action Timeout

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711
**Category:** Feature Requests
**Created:** [May 8, 2006, 10:16am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711 "2006-05-08T10:16:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 8, 2006, 10:16am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711/1 "2006-05-08T10:16:34Z")

</div>

We have had problems with tasks that hang, so we used the Asynchronous Action to have one action run the task, and another task wait for completion and kill the task if it does not complete withing a reasonable time.  
  
The problem was thus solved untill we started to use FB in our CCNet ([Welcome to CruiseControl.NET - Confluence](http://ccnet.thoughtworks.com/)) server - and sometimes two FB projects were kicked off simultaneously.  
  
Since we had no way of finding the ProcessId of the task, our action would kill devenv.exe - but now we could have two instances of devenv.exe - and we do not know which one to kill.  
  
Any plans for adding Action Timeout to the general action - and have that kill the action that did not complete?

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [May 9, 2006, 3:04am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711/2 "2006-05-09T03:04:11Z")

</div>

Hi Espen,  
  
Thanks for the suggestion. We actually already have Action Timeout on our list of enhancements :)  
  
cheers,  
tate.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [March 16, 2007, 11:46am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711/3 "2007-03-16T11:46:02Z")

</div>

That would be cool, however, is there any kind of workaround we can use in jscript?&nbsp; Start a thread that stops the action after a certain time or something similar?

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [March 22, 2007, 2:35am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-action-timeout/3711/4 "2007-03-22T02:35:29Z")

</div>

Sorry, there’s no workaround to timeout an action.  
  
But, FinalBuilder 5 now does have action timeouts for _some_ actions. The option is available on the Runtime tab in the Timing section. (eg. have a look at the Compile [VS.NET](http://VS.NET) Solution action, or the Execute Program action). If there is an action that you use that doesn’t have the option and you need it, let us know and we’ll see if we can sneak the feature in 🙂  
  
hth.  
.t8
