...
The formula below will check if the actual cost of a project exceeds 90% of its estimated cost and would print 'Cost Alert!' if it exceeds and 'Cost OK' if it does not.
${entityme.actualCost > (entityme.estCost * .9) ? Cost Alert! : Cost OK}
...
Example of an nested condition :
Code Block |
---|
${ entityme.risk_impact == 1 ? 'High' : ' ' || entityme.risk_impact == 2 ? 'Normal' : ' ' || entityme.risk_impact == 3 ? 'Low' : ' ' } |
...