You need to sign in to do that
Don't have an account?
Radha Rathinavel Pandian
record
Hi,
My next requirement is, I have a list of record types A, B and C..... My case object checkbox wants to be enable default when the record type was A or B , orelse it should be unchecked...If I create a legal description for C..my checkbox want to be checked. How can I proceed this?
My next requirement is, I have a list of record types A, B and C..... My case object checkbox wants to be enable default when the record type was A or B , orelse it should be unchecked...If I create a legal description for C..my checkbox want to be checked. How can I proceed this?
Let us know if this will help you
Please check once following snippet code:
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com
I want to check the box for inserting a new record also not only for record type A or B
trigger updCheck on case (before insert) { for(case cs : Trigger.new){ if(cs.recordtype.name == 'A' || cs.recordtype.name == 'B'){ caseCheck__c = True; }else{ caseCheck__c = False; } } }