You need to sign in to do that
Don't have an account?
mckinnmd
Help with Workflow Action - Field Updates
Hi everyone,
After being unsuccessful at creating a workflow action that would update a multi-select picklist, I was told to investigate the use of an Apex Trigger to update the ms picklist.
Can anyone help me create this?
Thank you for any help you can give!
After being unsuccessful at creating a workflow action that would update a multi-select picklist, I was told to investigate the use of an Apex Trigger to update the ms picklist.
Can anyone help me create this?
Thank you for any help you can give!
---
//Sample for Account
trigger UpdateMSP on Account (before update){
for(Account a : trigger.new){
//assuming mvp has three possible values: one, two, three. Separate the values with semicolons:
a.testmvp__c = 'one;two;three';
}
}
---
Don't forget to write a test for this as well!