How to pass 'Opened for' from Interaction to 'Requested for' in the catalog item in Agent Workspace

Jayasri Mathi
Kilo Contributor

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.

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Jayasri Mathi 

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

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

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!!!

 

Jayasri Mathi
Kilo Contributor

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.

jsanjuan
ServiceNow Employee
ServiceNow Employee

You can also refer to "Configure the default behavior to request items for other users"

https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/service-catalog-management/... >

 

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