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

Is there a way to create a new child record for each selection in a multi-select picklist?
Is there a way to create a new child record for each selection in a multi-select picklist?
You need to sign in to do that
Don't have an account?
You will need to write a trigger to do so. You may write a after insert trigger to process the multi-picklist values and create a new child record.
Sample code
Note: It will be better to use a map to avoid for in a for and you would also need to have a logic to handle removal of multi-picklist options.
All Answers
You will need to write a trigger to do so. You may write a after insert trigger to process the multi-picklist values and create a new child record.
Sample code
Note: It will be better to use a map to avoid for in a for and you would also need to have a logic to handle removal of multi-picklist options.