# Combine actions

**URL:** https://www.finalbuilder.com/forums/t/combine-actions/697
**Category:** Discussion
**Created:** [December 19, 2007, 10:37am UTC](https://www.finalbuilder.com/forums/t/combine-actions/697 "2007-12-19T10:37:05Z")
**Posts on this page:** 3
**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: [December 19, 2007, 10:37am UTC](https://www.finalbuilder.com/forums/t/combine-actions/697/1 "2007-12-19T10:37:05Z")

</div>

Hello FinalBuilder users

I've got a combination of tree actions which I use about 10 - 20 times in a build process.

For example the actions:

“File Content Iterator” --\> to read in a text file.

“PsKill”--\> to kill several running processes.

“Write to Text File” --\> to make a short report.

graphically:

![](upload://hn6y7RSgTPQBNvyqzgRn9glgjSA.jpeg)

Is it possible to packetize these tree actions as one Action? So I only have to run “one” action? Maybe with the FinalBuilder Action Studio?

Thanks for your help!

Regards,

Christof

![]() ![]() ![]() ![]() ![]()

---

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [December 19, 2007, 8:00am UTC](https://www.finalbuilder.com/forums/t/combine-actions/697/2 "2007-12-19T08:00:06Z")

</div>

I've accomplished this by putting the "common" actions in a separate action list, then calling that action list (via the "Run Action List" action) when I need to execute the sequence of actions.&nbsp; It's sort of an "action list subroutine".&nbsp; Depending on the actions and your configuration, you might want/need to parameterize the action list with Action List Parameters, so that callers can provide the required input to the actions.   
  
Hope this helps.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [December 19, 2007, 11:04am UTC](https://www.finalbuilder.com/forums/t/combine-actions/697/3 "2007-12-19T11:04:30Z")

</div>

Hi Christof,   
  
 Mike’s suggestion is the best way to achieve this. It’s also worth noting that the Include Project action can run an action list in a separate project, so you can create a subproject (ie Subroutines.fbp5) with various action lists, and and call it from different projects.   
  
 (The only time I would advise not using a subproject is if you need to call the action list many times (ie 100s or 1000s of times per build), in which case it’s better if it lives in the same project (less performance overhead.) 10-20 times should be unnoticeable.   
  
 Regards,   
  
 Angus
