You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

adf.context.getSecurityContext().getUserName() does not return results for a specific user

Received Response
31
Views
4
Comments
in Sales 4 comments

We are using standard groovy function "adf.context.getSecurityContext().getUserName()" to set user who approved ticket to a custom field

Below is the code

setAttribute('TicketApproverName_c',adf. context. getSecurityContext(). getUserName())

It does not get set for only one user, any reasons why it would not work?

I checked the user set up like username, resource role etc and everything looks good.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!