Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

trigger to validate if the national ID field located in contact object is not null before lead conve

in Sales 2 comments

Dears,

I need your help to create a trigger in order to validate if the “national ID” field located in the contact object, is “not null” before converting any lead to opportunity, in other words, prevent changing any lead status to converted if the NID is null


I really appreciate your help thanks in advance

Fields API names:

Lead status API name: StatusCode

NID API Name: XX_NationalID_c:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!