Lock down Variables in Task after its submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:42 AM
I have catalog items that have Reference fields that create tasks and for example
Change Group name pulls the Name in from Servicenow
When the tasks is created it has that old name but when the name is changed and the 1st tasks
is closed out then the next tasks to a different area to correct in there area gets a tasks and the new name
is in Reference field now.
How do you stop the Reference fields from updating after submitting the REQ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 05:47 AM
Hi @Tom Thompson ,
Are you saying that upon submitting a request using catalog item, the reference field should be readonly.
Is this what you're trying to achieve? If Yes. Please confirm, so that I can help you with a solution.
Thanks & Regards,
Madhan Somesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 06:10 AM
No I know I can do that,
When the Request is to Rename a Group that OLD name is pulled into Group Name "Reference Field"
Once the Admin renames it to New Name and closes his tasks another task is created to next group
and they get Change name of Group and it now has NEW Name in that Reference field that the admin changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 06:27 AM
Hello @Tom Thompson ,
Once the group name has been changed, all the reference fields holding that group will be updated to the new name & this is an expected behavior from ServiceNow.
However, to fulfill your requirement you can create a new string field to copy the old group name once the request has been submitted so that the old group name is visible even though the reference field got updated.
Please let us know if this fulfills your requirements. I can provide you with a script to achieve it.
Please mark it as "Accept as Solution" and " Helpful. if this solution helped you.
Thanks & Regards,
Madhan Somesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 07:15 AM
Hi @Tom Thompson ,
Have you tried this approach? If the above mentioned solution suits your requirement please let me know I could write a simple BR to achieve this functionality.
Please mark it as "Accept as Solution" and " Helpful. if this solution helped you.
Thanks & Regards,
Madhan Somesh.