# Action List Names Variable

**URL:** https://www.finalbuilder.com/forums/t/action-list-names-variable/1742
**Category:** Discussion
**Created:** [April 20, 2011, 5:27am UTC](https://www.finalbuilder.com/forums/t/action-list-names-variable/1742 "2011-04-20T05:27:52Z")
**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: [April 20, 2011, 5:27am UTC](https://www.finalbuilder.com/forums/t/action-list-names-variable/1742/1 "2011-04-20T05:27:52Z")

</div>

Folks,

I've been searching through the forums all morning and can't find this one so here goes:

Environment:

FB7 IDE&nbsp;project with mulitple action lists.

1.&nbsp;&nbsp;Is it possible&nbsp;interactively have a prompt to select the action list you want to run?

Limitations:

I don't want a static variable/list/file with the names in it.

The list&nbsp;needs to be dynamically created at project startup and as new action lists are added in.

I need to automate the process as much as possible to avoid issues where a change is made and config file/setting/variable list is not updated.

The idea behind the project is that we have multiple SQL servers with differing scripts that need running.

I've setup a project for scheduling each script as an individual action list that's called through a set of If/Then/Else iterators when scheduled based on time/day/date and so on.

What I need to do now is convert the scheduled task into an ad-hoc run where the user choses the script & server to run.

I've thought of using a switch/case option with a prompt for "choose one" but I can't find how to make the "choice" the Action List name dynamically.

If there is a better way then let me know!

Cheers,

&nbsp;

Steve

&nbsp;

&nbsp;

---

<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: [April 20, 2011, 6:35am UTC](https://www.finalbuilder.com/forums/t/action-list-names-variable/1742/2 "2011-04-20T06:35:02Z")

</div>

Hi Steve   
  
 Unfortunately this is not possible, we don’t expose the project metadata in any way that you could use to do this. The best option would be the switch/case method.

---

<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: [April 20, 2011, 7:38am UTC](https://www.finalbuilder.com/forums/t/action-list-names-variable/1742/3 "2011-04-20T07:38:21Z")

</div>

Thanks for the quick response.

&nbsp;

I'll have to look into another method then
