Linking Change Requests with SC Tasks M2M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 01:37 AM
Hello all,
Can anyone help me how to achieve the following? I want to have a UI action on SC Task, and by clicking it, I want to be redirected to the sn_chg_model_ui_landing page, so I can select a change template, and once the change request record is saved, I want to create a record in an M2M table to link the Change with the SC Task. I can't seem to pass the sys_id of the SC Task via URL, as it needs another redirect to get to the change form from the template landing page.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 01:45 AM
Can you share UI action script and screenshot?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 02:11 AM
The current UI action looks like this, but it uses custom fields (u_ritm on Change Request, and u_change_request on SC Task). We want to remove these custom fields, and implement M2M relationships instead.
I couldn't find any documentation on what sysparm_collection, collectionID and collection_key does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 02:16 AM
in that case populate the parent field on CHG with that RITM so that RITM gets linked with CHG and the same can be used on SC Task as well
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-04-2025 01:16 PM
Hi nmsmtys,
Were you able to find a resolution? If so, can you please share? I have a similar issue.