How to pass 'Opened for' from Interaction to 'Requested for' in the catalog item in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 03:14 AM
Hello All,
We recently enabled Agent Workspace in our DEV instance and we would like to pass 'Opened for' field information from interaction record to 'Requested for' variable in the catalog item when we click on 'Create Request' UI action in the interaction. We were able to achieve this using onLoad catalog client script but the issue here is we have many 'requested for' variables for the catalog items throughout our instance. So please suggest if there is any other way to pass opened for from interaction to requested for in catalog item. Our basic idea is to avoid creating multiple catalog client scripts to achieve this.
Please Help.
Thanks & Regards,
Jayasri M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 03:30 AM
Refer below links for help
Passing variables from interaction record ti catalog item in Agent Workspace
Passing variables from interatcion record to catalog item in Agent Workspace
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2022 12:07 PM
Hi Ankur,
I have similar type of requirement, could you please help or guide me through:-
In Agent Workspace, we have got 2 fields as short description & description. Whenever Service Desk's user click on Create User, it's redirected to a specific catalog item and we would like to populate these 2 fields Short Description & Description variables in the catalog item from Interaction automatically.
Could you please let me know whether you came across such/ similar requirement and help/guide me to resolve this enhancement please?
Quick reply much appreciated!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2020 06:24 AM
Hi Ankur,
Thanks for your reply.
I have checked those links but as I mentioned we have many 'Requested For' variables for different catalog items.
Can we achieve this without making Requested For variable same for all catalog items, as we have different reference qualifiers for requested for variable.
Thanks & Regards,
Jayasri M.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2023 10:52 PM
You can also refer to "Configure the default behavior to request items for other users"
Either
a) add roles to property glide.sc.req_for.roles for approved roles that can create requests after interactions,
b) Change glide.sc.req_for.roles.default=deny to glide.sc.req_for.roles.default=allow to allow anyone to make requests for anyone.
With glide.sc.req_for.roles.default=deny and glide.sc.req_for.roles blank -- -only users creating requests will automatically get requested_for on the requests poplated with the interaction opened_for