Salesforce Fact #876 | PICKLISTCOUNT() in FormulaEvalInApex

While using the PICKLISTCOUNT() function in the FormulaEvalInApex feature, it counts the number of semicolons unlike the PICKLISTCOUNT() function in the formula which returns the number of selected values in the multi-select picklist.

So, we need to be careful if we use FormulaEvalInApex feature with PICKLISTCOUNT(). Ideally the correct result is returned count+1.

Attached is the screenshot.



Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow