Combine actions

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

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.  It's sort of an "action list subroutine".  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.

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