How to pass in variables at run time

I'm new to Final Builder and taking over a project built by someone else.

There is a Final Builder web interface that is used to define certain variables that get passed in to the Final Builder project when it runs. If I open the Final Builder project and run it manually, it fails because certain variables are not defined. I can add steps to define these variables, but then I have to take them back out so that the web interface works properly.

Is there a way I can have Final Builder prompt me to input the variables when I manually run the project or some other way that I can input these variables at run time without adding those steps into the project?

Hi Mike,

You have a few options to work around this issue, the first would be to use the ‘Enhanced Prompt for Variable’ action which will continue the build process using the specified default values if the project is being run under FinalBuilder Server or from the console in non-interactive mode. Your other option would be to use the If…Then action to test whether the %ISSERVERBUILD% or %ISINTERACTIVEBUILD% is set to true, or alternatively if you only have a single action which shouldn’t be run you can set an ‘Execute Condition’ on the action.

Regards,
Paul.

Posted By Paul Samways on 25 May 2009 05:39 PM
Hi Mike,

You have a few options to work around this issue, the first would be to use the 'Enhanced Prompt for Variable' action which will continue the build process using the specified default values if the project is being run under FinalBuilder Server or from the console in non-interactive mode. Your other option would be to use the If..Then action to test whether the %ISSERVERBUILD% or %ISINTERACTIVEBUILD% is set to true, or alternatively if you only have a single action which shouldn't be run you can set an 'Execute Condition' on the action.

Regards,
Paul.


Nice, not only a solution but 3 solutions to choose from.

Thanks!