To Display parent field value in child field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 10:43 PM
Requirement:
1.There are two tables , parent table(sn_customerservice_case),child table (sn_customerservice_task)
2.Both have assigned_to field
3.When case is assigned to some one, it should also reflect the same in ,child table (assigned_to)
How can i achieve this in reference qualifier?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 01:46 AM
Yes, tried with BR.Its not working.
How can it be achieved through reference qualifiers
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 11:02 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 11:03 PM
yes it is possible. you can write a run script and check if he current record has parent. if yes, you can gliderecord the parent and fetch the values and assign to current object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 11:08 PM
Can u give me a scripte for that if iam creating a parent case record and i need to copy all the field value to child case in workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 11:06 PM
Hi,
The refrence qualifier is used to set the prefilter to select the values from. you cannot set the value in the field using reference qualifier.
For your requirement,you should write an after update BR on the sn_customerservice_case with conditions assigned_to changes AND assigned_to is not empty.
Then in advanced script query the child tables and set the assigned to.
//sample script
var gr = new GlideRecord("sn_customerservice_task");
gr.addQuery("parent",current.sys_id); //assuming parent is the righ tfield
gr.query();
while(gr.next()) {
gr.assigned_to=current.assigned_to;
gr.update();
}
Kindly mark the comment as a correct answer and also helpful if this has answered your question.