8,849
edits
Changes
→Using Conditional Statements
==Using Conditional Statements==
Conditional statements can be used in formulas with the following structure:
:<font size="3">'''@variable@=if(''conditional statement'',''value if true'',''value if false'');'''</font>
* At Level 3, if the contact assigned is a member of role 12345 put their name into the ''Consultant'' field. Otherwise use the Level 2 ''Owner'' for the Consultant field:
@level3.consultant@=if('@level3.contact.rolelist@' like '%12345%','@level3.contact.fullname@','@level2.owner.fullname@');
==Using Object Syntax==