Versions Compared

Key

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

By Defaultdefault, a new FinalBuilder project has two Action Lists, Main and OnFailure. These default Action Lists one Target called Default. This default Target cannot be deleted or moved. When a project starts, the first enabled action in the Main Action List Default Target is executed. If any action fails, execution switches to the OnFailure Action List, if it contains any actions. The OnFailure Action List allows you to will cause the build process to halt with an error. To perform cleanup tasks when the project fails for any reason wrapping the actions to protect in a try..catch..end is recommended.

Tip

...

You can drag actions from one

...

Target to another by dragging them over the

...

Target tab, then dropping them on the other

...

Target.

...

Adding Action ListsTarget

You can Add, Delete, Rename or re-order extra Action Lists Targets from the Project menu, or by right clicking on the Action List Target headings:

 

 

To run a specific action listsTargets, add a "Run Action List Target" action to the calling action listTarget, then set the ActionList Target property of that action.

In the above screenshot, the Run Action List Target action calls the "Compile Help" action list Target if certain conditions are met.

Action Lists Targets can be treated like subroutines - you can call them as often as you require. Through the use of FinalBuilder variables, Action Lists Targets can be used like functions or method calls.

See Also

FinalBuilder Variables | Action List Target Parameters