Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Execute Condition field  is evaluated before running the action. If the condition evaluates to True (or is empty) then the action will execute, otherwise the action will be skipped.

FinalBuilder Variables

Execute conditions are specified in a scripting language, so %'s are not used when referring to FinalBuilder variables. For example, if you have a FB variable "PerformMerge" then you can simply specify PerformMerge and not %PerformMerge%. In the example above, previous actions should have set the PerformMerge variable to either True or False.

...

Code Block
languagevb
titleVBScript
BuildType = "Full"

 

 

Code Block
languagejs
titleJavascript
BuildType == "Full"

 

 

Code Block
languagepowershell
titlePowershell
$FBVariables.GetVariable("BuildType") -eq "Full"

 

where BuildType is a FinalBuilder variable.

 

...