Unable To Invoke The AssignLead Web Service From Groovy Script In R13

(Doc ID 2398317.1)

Last updated on MAY 31, 2018

Applies to:

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

Symptoms

On : 11.13.18.02.0 version, Leads, Sales Campaigns

Unable to invoke the assignLead web service from groovy script in R13

You have a trigger that after creating a lead, the assignment is executed. This script already worked on the R12 but after R13 Upgrate it doesn't work.I leave the number of the SR where they helped me to build it
SR 3-14874086351

details my script:

object trigger : AfterCommit

if (null != LeadId && 2 == ObjectVersionNumber) {
adf.webServices.AsignarLead.assignLead(LeadId);
  println("ObjectVersionNumber =" +ObjectVersionNumber)
  println("LeadId =" +LeadId)
}

First is my groovy script : objectTrigger.jgp

second is a lead created: LeadCreated.jpg , as you can see the assignment status field was not set.


ERROR
-----------------------
Connection timeout




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to OSC
2. Navigate to Leads and create lead
3. Getting an error

BUSINESS IMPACT
-----------------------
Customer cannot create leads in production and its affecting all user base

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