# Scripting for 'Run Action List'-Action

**URL:** https://www.finalbuilder.com/forums/t/scripting-for-run-action-list-action/2230
**Category:** Discussion
**Created:** [December 4, 2013, 8:32am UTC](https://www.finalbuilder.com/forums/t/scripting-for-run-action-list-action/2230 "2013-12-04T08:32:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ss\_dd](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@ss\_dd](https://www.finalbuilder.com/forums/u/ss_dd)
#### Post date: [December 4, 2013, 8:32am UTC](https://www.finalbuilder.com/forums/t/scripting-for-run-action-list-action/2230/1 "2013-12-04T08:32:17Z")

</div>

hello,

for logging purposes i route all calls to subroutines (run action list) through an action list which itselfs (apart from logging) forwardes the call to the 'real' subroutine via scripting (beforeaction-script and using the action.SetActionListByName) which works nicely.

however i have the issue that i am not able to forward the action list parameters to the destination action list.

the route has 3 buffer-parameters which i would like to forward (if assigned) to the parameters of the destination action list.

i found no other way than using global variables ... which is not so nice.

help/inspiration is greatly appreciated

the motivation to collect the logging information in this way is to finally put it into an email-body. i didn't want to use 'set variable'-action all the time ...

&nbsp;

thank you

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [December 4, 2013, 11:27am UTC](https://www.finalbuilder.com/forums/t/scripting-for-run-action-list-action/2230/2 "2013-12-04T11:27:08Z")

</div>

Hi Hendrik,&nbsp;

I have created a script which allows the choosing of the action list to run. It clears the params list of the Run Action List and fills it with the params required by each action list. I have shown how to pass params, or simply choose new values. The trick is to clear the param list and then fill the "Name=Value" string list with each of the params which match the Action List params which is being called.&nbsp;

Let me know how this goes for you.&nbsp;

---

<div class="post-metadata">

### Author: ![ss\_dd](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@ss\_dd](https://www.finalbuilder.com/forums/u/ss_dd)
#### Post date: [December 5, 2013, 11:23am UTC](https://www.finalbuilder.com/forums/t/scripting-for-run-action-list-action/2230/3 "2013-12-05T11:23:25Z")

</div>

thank you so much jason!   
 this did it for me!
