cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Some questions to computed expressions

elmar_pfeffer
8-Gravel

Some questions to computed expressions

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) ?

ACCEPTED SOLUTION

Accepted Solutions

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. 

 

View solution in original post

1 REPLY 1

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. 

 

Announcements


Top Tags