My Oracle Support Banner

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 and later
Information in this document applies to any platform.


On : 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) {
  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.

Connection timeout

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

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


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

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