Determine Page Type (Create, Edit) with Groovy

(Doc ID 2098909.1)

Last updated on MARCH 16, 2016

Applies to:

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

Goal

Within the context of a Groovy script, the customer wants to be able to determine the actual page type (CREATE or EDIT). This is needed in order to write scripts for conditionally required fields, where the fields are required but are only on the EDIT pages.
How can this be achieved?
 

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