You need to sign in to do that
Don't have an account?
shekhar 46
wriet a trigger for multiselect picklist
- On both account & contact we have role field which is multiselect picklist, having value as a, b, c, d . When ever any contact is created/updated with role value , we need to maintain unique role on related parent account of contact. Means have created account, at that time the role field of account is blank,after that we created 3 contact with role value like ab, bc, cd. Unique value in these three is a.b.c value and these value will be updated on parent.and d will be removed. write a trigger for thsi condition
Try with below code.
If this helps, Please mark it as best answer.
Thanks!!