We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

How to filter Groovy scripts only to trigger from UI/user actions for Activity object

Accepted answer
1
Views
1
Comments
in Sales 1 comment

Summary:

Tigger Activity Object's groovy scripts only via UI actions

Content (required):

Hi,

We have a requirement to run specific validations for Activity object when the record create or Update by a user from UI. At the moment, theses scripts are triggered when back end tasks happens, as an example, when CDM merges records.

For Service request Object we found below and it works as we want.

def source=SourceCd

if(source=="ORA_SVC_AGENT_UI")

What I want to know is what would be the condition for 'Activity' object.

Version (include the version you are using, if applicable):

Oracle Cloud Application

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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