The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Populate the catalog variable with User personal Detail

subashds6515
Tera Contributor

Hi,

 

I have an issue with the User table where we have an Access Control List (ACL) defined for the Personal Detail section. This ACL specifies two roles that are required for accessing certain information.

 

I also have a catalog item that includes user details such as Home Location and Joining Date. However, when I submit this catalog item for a user who does not possess the specified roles in the ACL, the relevant variables do not get populated.

 

I have tried several approaches, including:

 

1. Dot Walk Method

2. OnChange Client Script with a Script Include using GlideAjax

3. Utilizing a custom action in the Flow

 

I am wondering if it is possible to populate the variables in the catalog item for which we do not have read access to the table. If it is possible, could anyone suggest which method I should use to accomplish this?

 

For your reference, I have attached the script I am using in the custom flow action.

 

subashds6515_0-1758694272250.png

 

 

Thanks,

Subash

 

 

7 REPLIES 7

@subashds6515 

did you confirm is values are coming fine to your action?

did you add gs.info() and see?

each of your action input should be of type String

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

subashds6515_0-1758706031904.png

Values are not visible until the user with the specified ACL role submits the form.

@subashds6515 

that's correct, let the flow run and action run.

what comes in log? whether the inputs came fine in script or not?

did you use GlideRecord and see?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader