Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I certainly found the section "computed expression Function Classes" chapter on the help pages, but I could not find a decent descripton for some of the functions I regularily encounter.
Questions:
-> What is the syntax of an "if" (...? 1:0...)
-> how is "aggregatebyTree" different from "aggregate"
-> is there some kind of loop function available (e.g.: for-loop) ?
Solved! Go to Solution.
the syntax for "if" is:
Boolean-exp?true_exp:false_exp
The Aggregate function will follow the relationship field specified one level.
AggregatebyTree will follow the relationship field down the tree - so if there are items several levels deep, they will be included.
I don't believe there is a for loop in the computations. For that complexity of computation, I'd suggest a trigger script.
the syntax for "if" is:
Boolean-exp?true_exp:false_exp
The Aggregate function will follow the relationship field specified one level.
AggregatebyTree will follow the relationship field down the tree - so if there are items several levels deep, they will be included.
I don't believe there is a for loop in the computations. For that complexity of computation, I'd suggest a trigger script.