You need to sign in to do that
Don't have an account?
Debbie Perrott
If an apex trigger is set to a picklist field value - what does it do if the field is null?
Sorry if this is a stupid question but I am an Admin rather than a developer. We have a trigger that creates renewal opportunites - and one of the criteria is to ignore inactive accounts.
On the account there is a field called account status and it is a picklist with the values of active and inactive. If the account has no value in this field - will it return a true or false value? i.e will the trigger ignore this account in the code.
On the account there is a field called account status and it is a picklist with the values of active and inactive. If the account has no value in this field - will it return a true or false value? i.e will the trigger ignore this account in the code.
your information is incomplete. We cannot debug anything from the code snippet you provided. Can yo please share the whole trigger if possible ?
Thanks,
Prosenjit
Mark my answer, if you find this useful.
Thanks,
Hasan Shamsi