Lead Workflow Script: OwnerId Attribute Returning Null When There Is A Lead Owner Value In The Lead Record

(Doc ID 2118847.1)

Last updated on APRIL 11, 2016

Applies to:

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


On : version, Leads, Sales Campaigns

There is an issue with the Lead workflow where the Lead owner is returning null value when there is a Lead owner value in the Lead record.

Groovy Script:

println("Orig Owner ID:"+(getOriginalAttributeValue('OwnerId')));
println("Owner ID:"+OwnerId);
println("Owner Name:"+Owner);
println("Owner Party Name:"+OwnerPartyName);

The API "OwnerPartyName" is displaying the value but not 'Owner' API.

The "Owner Name" should not be null since the Owner ID has a value.


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