Conditional Exit for Analysis Expressions
Sometime you want to do an analyse only when one or more conditions are true, if the are not true you want to exit the analyse, so steps below the conditional exit are not evaluated/executed. The conditional in Analytics should look like:
if condition = true then exit analyse
At the moment this is only possible with the function NoOutput(), but then the mapped attribute should be connected to an PIPoint and you have to fill in a else condition. All rows below the conditional exit will not be executed.
New function – Exit() is now available with the AF 2018 SP2 release.
Kenneth Barber commented
To work around this, save the result of the condition evaluation to a variable. Then wrap the formula of each subsequent variable in "if condition then formula else NoOutput()".
Would also be nice to have a similar (optional) feature in event frame generation:
Add the possibility to stop triggering other start triggers after triggering on the first true trigger expression. Optionally prevent only same or lower priority triggers.