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

I am trying to update custom_field__con Opportunity from a Multi Select picklist field on Account only if Account Name contains 'x'. I am new to Apex, could someone help me out here. Thanks!
I am trying to update custom_field__con Opportunity from a Multi Select picklist field on Account only if Account Name contains 'x'. I am new to Apex, could someone help me out here. Thanks!

Why not just use a workflow rule?

Because its a multiselect picklist field I have to update from and I am unable to do it in a formula fied or using field update action. Thats why I am having to resort to writing a trigger.

Does this work for you? https://success.salesforce.com/answers?id=90630000000gv5cAAA