My Oracle Support Banner

How To Copy Activity Description To Custom Long Text Field On Lead Using Groovy (Doc ID 2644684.1)

Last updated on DECEMBER 22, 2020

Applies to:

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

Goal

On : 11.13.20.01.0 version, Activity Management

How To Copy Activity Description To Custom Long Text Field On Lead Using Groovy

We are not able to bring the activity description to it's corresponding description field in the lead summary page using groovy script.
Few other fields from the activity are reflected in the lead summary page other than description. 
We wrote the script under Before Update event in the Activity object

if(isAttributeChanged('OutcomeCode') && OutcomeCode != null && LeadName != null)
{
 
  LeadVOVA.setAttribute("NextAction1_c",NextActionNew_c)
  LeadVOVA.setAttribute("StatusOfFollowUp_c",OutcomeCode)
  LeadVOVA.setAttribute("DescriptionCustom_c",ActivityDescription)
  LeadVOVA.setAttribute("LastActivityDate_c",today())
}
 

Solution

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
Goal
Solution
References


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