Versions Compared

Key

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

Overview

PhixFlow is a low-code, application-development platform. Using PhixFlow, you can create applications starting with the user interface, rather than requiring software developers to code all the functionality. However, PhixFlow sometimes needs code-like instruction to achieve the dynamic behaviour you need. This is done using expressions. Usually these are simple, short pieces of code. Longer, complex expressions are usually called scripts. For useful expressions that you want to reuse in different places, you can put the expression into a macro.

PhixFlow items have a property tab where you set the options for that item. You can see a list of the help pages for different items on the Property Tabs page. Items where you may need to add some instructions have a field where you can enter an expression. These dynamic fields are often labelled as Expression.

Actions have a dynamic field where you can write an expression to check that the action has run correctly.


Expressions can also include variables. Some internal variables are defined in PhixFlow. You can also create your own variables. As these are prefixed with the $-symbol they are called $-variables.


As well as the internal variables, PhixFlow has lots of functions that you can use in expressions.



Streams have several dynamic fields where you affect the data records in the stream 

The following pages provide information on writing your own expressions, from simple assignments to complex looping operations.

Expression BasicsBasic operations (+, -, *, /), $-variables, variable types, assignment statements, object types and commenting scripts.
Expression StyleA summary of the recommend scripting styles e.g. how to lay out an if clause and how best to name variables.
Using VariablesHow to use variables
are used
in PhixFlow expressions.
Internal VariablesA list of all the pre-defined variables in PhixFlow. Depending on the context of your expression, only some of these will be appropriate to use.
Text Expressions
Text Expressions and Escape CharactersInformation for including text strings in expressions, characters that have special meanings, and how to escape them.
Regular Expressions
Find out how
How to use
regexp to
regular expressions that match strings in the data.
Conditional StatementsHow to conditionally control the flow of your script using the if() and switch() functions.
Looping StatementsHow to execute blocks of script a number of times.
Arrays and Record SetsHandling sets of data.
SequenceCreate a series of unique identifiers.
MacroEncapsulate
script
an expression so you can reuse it in different
expressions
places.
Referencing Files on the PhixFlow Server
Use
How to use paths to access files on the PhixFlow server.
Binary File GrammarInformation about how to extract data from binary files, if you need to load them using a file collector.
Functions
A

The full list of all the PhixFlow functions. For example the lookup function is for filters and dynamic lookups on Pipes.

Binary File Grammar

Information about how to extract data from binary files, if you need to load them using a file collector

Each function has its own help page.