Multiple Emails From Workflow (Doc ID 2051012.1)

Last updated on MARCH 09, 2017

Applies to:

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

Symptoms

On : 11.1.9.2.0 version, Activity Management, Multiple emails being generated for a workflow script

 

println("Start BV workflow");
def p_OR = ChildRevenue ;//OpportunityRevenue;
def p_sumMRR ;
def p_ORr;
p_sumMRR = false;
if(p_OR != null)
{
while(p_OR.hasNext())
{
 println("Enter While loop for workflow");
p_ORr = p_OR.next()
 
 if (((nvl(p_ORr.MRCBudget_Mpplc_c,0) != nvl(p_ORr.MRCActual_Mpplc_c,0)) || (nvl(p_ORr.NRCBudget_Mpplc_c,0) != nvl(p_ORr.NRCActual_Mpplc_c,0))) && (SalesStage == '02 Solution Discovery' || SalesStage == '03 Proposal' || SalesStage == '04 Negotiate' || SalesStage == '05 Won/Lost' ))
 
 {
println("Enter if loop for workflow");
p_sumMRR = true;
}
println("Exit if loop for workflow");
}
}
println("return" + p_sumMRR);
return p_sumMRR;
println("End BV workflow");

Cause

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