- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 11:37 AM
We are showing a widget containing list of Request Type (based on the selection made by users in the catalog item) in Modal window . Once user selects one of these request types, catalog task needs to be assigned to group mapped to the request type.
While we are able to get group name in the widget, How do I pass this value to catalog item so that a catalog variable named Support Group can be populated with the group value and using this variable we can update Catalog Task's assignment group.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2020 11:46 AM
I was able to achieve this using shared parameter of spmodal passed in spmodal.open funciton
Details are here
https://github.com/service-portal/x-archive/blob/master/documentation/spModal.md

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 11:57 AM
Hi,
Bit confused, where the modal is and where you want to do this.
Can you clarify it properly.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 01:27 PM
We have a form , which opens up a widget in modal window(using spmodal.open)
User selects a request type in this widget, We need to pass value of selected request type from widget/modal to ServiceNow Form so that tickets can be assigned to correct group.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2020 12:30 AM
Hi,
All this happens on Service Portal before submitting a request right?
From Where this spmodal.open is called? Catalog client script?
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2020 08:12 AM
Yes, You are right.
Sorry, I am so bad with explaining things.