My Oracle Support Banner

Validation Script Under Lead Object (Doc ID 2554570.1)

Last updated on DECEMBER 22, 2020

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


On : version, Leads, Sales Campaigns

Validation script under Lead object

I need to create a script in Lead object that do a validation that if a field is equal to 0 don’t allow to save and close.
This is the groovy I wrote:
if((nvl(SRNumber_c, "")!= "") && (NoOfActivities_c == 0))
return true
But I don’t know which trigger I should use
Can you please advise?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.