You need to sign in to do that
Don't have an account?

Multi-select picklist
I have a multi-select picklist field (multi__c) on the User object.
I'm writing a after-insert/update trigger on the object.
OBJECTIVE: check multi__c. Get values.
1. Then if multi__c==A, insert record on custom object.
2. if multi__c==B, insert record on custom object.
3. multi__c==A and B, insert two records in custom object.
Now, the problem. Which method for picllist do I use to get values of the multiselect picklist?
Is this possible?
multi-select picllist are stored as ';' separated values
i used a split string method
String [] x = user.multi__c.split(';',0);
hope this helps