Groovy Script to generate an alert message on UI if any of the specified fields in an Activity object are null (Doc ID 2057450.1)

Last updated on JUNE 21, 2017

Applies to:

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

Goal

Customer has implemented a code for the activity object validation for checking that activity type is Appointment and that level size, set by and set for is not null. If any of these fields are null, then trigger an error. When trying select an owner in appointment before setting required fields, error fires prematurely.
How to create a groovy Script to generate an alert message on UI if any of the specified fields in an Activity object are null?

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms