Need to create a Request from a Change Record in the SOW and native view using a UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 01:15 AM
Hi Team,
I should be able to create a Request from a Change Record in the SOW and native view using a UI Action/Context Menu Action.
I have created UI action for native UI View and used the below script.
how to achieve this?
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 02:25 AM
I understand your requirement, but the issue is why go in reverse? A change can be logged from a request, not the other way around. It’s better to discuss this again with the client to understand why this is required. Also, this would be a full customization, where you would need to build a new UI action, set that as a declarative action in WS, and then create a many-to-many relationship between the change and the request.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 02:39 AM
for the relationship you need to store the CHG sysId in REQ parent field
as per script you are using the "sysparm_parent_sys_id" so it should work
Is it not working from both native and workspace?
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
03-06-2025 05:21 AM
Hi Ankur,
I have created Request parent Mapping for Change Request, in request_parent_mapping.LIST
its working fine now.