Display Label Script Showing Different Display Name. (Doc ID 2261880.1)

Last updated on JULY 06, 2017

Applies to:

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

Goal

On : 11.12.1.0.0 version, Accounts, Contacts, Households

I created a custom created by field and last updated field were i have wrote the script to populate display name of the logged in user. But instead of the display name it is showing "Enterprise Scheduler Job Application Identity".
The script i have written is as follows.

def user = adf.context.getSecurityContext()?.getUserProfile()?.getDisplayName()
setAttribute('CustomCreatedBy_c',user)
 
How to fill the field with the user name?

Solution

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