Populate the catalog variable with User personal Detail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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.
Thanks,
Subash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Values are not visible until the user with the specified ACL role submits the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader