Salesforce Fact #216 | Be careful with multi select picklist

We need to be careful while dealing with multi-select picklist. If we have a multi select picklist with possible values as A,B,C and if by mistake we added B twice from code i.e. A;B;B; then it does not throw any error and it gets saved in the record and also with two B's instead of one. But it may cause unexpected results.

Attached are the screenshots.




Comments

Post a Comment

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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