function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TheresaAndersonTheresaAnderson 

Create multiple tasks based on values selected from a multi-select custom field

Goal:  I want to create a trigger from Opportunities.  The trigger will create tasks when values are selected from a Multi-select custom field.  The values change as the Opportunity stage value changes.  I have the multi-select field dependent on the stage.  Now I need help with the trigger.  I will need IF statement to verify the multi-select values choosen.

 

Suggestions?

skodisanaskodisana

Hi,

 

You can create the Workflow for this.

In workflows Rule Criteria section select Run this rule if the following as Formula Evaluates to true.

Use INCLUDEs function for multiselect picklist values.

For more information on INCLUDES function check Help & Training.

 

Thanks,

Kodisana

TheresaAndersonTheresaAnderson

I tested this approach, but I'm limited to one pick; or I'm doing this wrong.  I have around 35 options to test for, so I was hoping a trigger with a nested IF statement would be better.