UI action for create standard change from Catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 03:07 PM
I am trying to add the UI action "Create standard change" from Catalog task. Below is working and displaying the standard change list but it updating the 'parent' field on the catalog task with the change number created.
How to not update the change number on the parent field on the catalog task as it's replacing the RITM number.
action.setRedirectURL(new StdChangeUtils().getURLForTask(current, 'parent'));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 11:18 PM
for catalog task the field which holds RITM number is request_item and not parent.
In your case why parent field is used to hold RITM?
Let parent field hold CHG
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 10:39 AM
@Ankur Bawiskar If you check OOB also the parent field is populated with the RITM#.
it's not populating for the normal or expedite change, only for standard change it's populating. as we have current as 'parent'.
Would like to know how to just not update the 'Parent' field with the CHG#.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 08:47 PM
nope
OOB Request Item field on sc_task is populated with RITM
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 06:29 AM
It's when you create the standard CR from catalog task. it's replacing the parent field with RITM # with the CHG#. The reason we want to not allow it to update to CHG# is it's not closing the RITM even if all the catalog tasks are closed as the parent the CHG is not closed. This is not happening for the Normal or emergency change.
sorry if it was all confusing to you.