PhixFlow Help
Scripting
What Is Scripting?
There are two types of field within PhixFlow:
- Static fields which are configured with a static value e.g. the name field for a Stream.
- Dynamic fields which can be configured with an expression/script to provide different values depending on the context in which they are evaluated.
Much of PhixFlow's dynamic behaviour is created by the ability to configure simple expressions or more complex scripts within the dynamic fields. This chapter covers the details of how to write your own expressions, from simple assignments to complex looping operations. The scripting features are covered on the following pages:
Scripting Basics | Basic operations (+, -, *, /), "$" variables, variable types, assignment statements, object types and commenting scripts. |
PhixFlow Variables | How variables are used in PhixFlow. |
PhixFlow Internal Variables | A List of values that PhixFlow defines in the course of processing that are available for use in building models. |
Conditional Statements | How to conditionally control the flow of your script using the if() and switch() functions. |
Looping Statements | How to execute blocks of script a number of times. |
Arrays and Record Sets | Handling sets of data. |
Filters and Lookups | How to construct filters and perform dynamic lookups on Pipes. |
Macros | Encapsulate script so that it can be used from several different dynamic fields |
Scripting Style | A summary of the recommend scripting styles e.g. how to lay out an if clause and how best to name variables etc. |
See Also
Please let us know if we could improve this page feedback@phixflow.com