- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Required help @Vasantharajan N @Ankur Bawiskar @Voona Rohila @WillieW
When changes are done on list view that should reflect to things (attached records) related to the record.
List View:
Related Records:
In the below mentioned related records Impact & Priority needs to be change when Impact & Priority cahnged on list view
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
24m ago
Add BR Trigger conditions properly something like - impact changes || priority changes
Refer sample logic below:
//sample logic
var grST = new GlideRecord('child table') // childtablename
grST.addQuery('parent',current.sys_id); // add your related list condition, added parent as example.
grST.query();
while(grST.next())
{
grST.priority = current.priority // map directly if backend values are same else do an if check and map it.
grST.impact = current.impact //map directly if backend values are same else do an if check and map it.
grST.update();
]
There are so many similar ootb functionalities( Incident to Incident task, Change to Change Task), you can take a look in your instance.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
55m ago
You need to refresh the related list once you make the changes in the list view, or reload the page again.”
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
52m ago
The thing is once I done any changes on the list view (impact & priority) for the parent record (changes done on list view) then the attached records (impact & priority) also needs to be change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
42m ago
Write a BR on the parent table which triggers when impact/priority changes and in your BR write a script to update the child records.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
41m ago
If possible can you provide the script for Business Rule
