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-19-2024 12:42 AM
And I am asking for your workflow (or at least the action creating your task) to see what exactly is happening. I suspect your workflow gets the value of the assignment group while the record is being saved, and still having the previous assignment group.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 07:03 AM
Hi @Tom Thompson, As per my understanding, you have a variable of reference type (sys_user_group) and once the request is submitted to change the group name, an initial task is assigned to a group and once this group rename it, the reference variable in the task shows the new name and not the old name.
This is the expected behaviour as the fields / variables of reference type are linked with the sys_id. You may need to create another variable of single line text on catalog item to store the group name before the change is made so that you can have a track of the previous name.
Regards,
Sunil