Copy values from parent to Child incident

Soumya Thareja1
Giga Expert

Hi Experts,

On creating a child incident using the 'New' UI action in the incident related lists, I want the child to have some fields like Description, Short Description, etc copied from its parent record. 
I see there an OOTB UI action, but not sure where to add my function in the existing script.

find_real_file.png

Some guidance would be appreciated. 

1 ACCEPTED SOLUTION

Hi Allen, 

I created only a display BR and updated the fields like below:
current.short_description = current.parent_incident.short_description;
current.category= current.parent_incident.category;
current.subcategory= current.parent_incident.subcategory;
current.business_service= current.parent_incident.business_service;

 

It worked that way. 

Thanks a lot though! 🙂

View solution in original post

10 REPLIES 10

Hey,

That is quite a good explanation. I'd surely give it a try in my PDI. 

Having the requirement completed is another thing, but I gained more knowledge about the multiple approaches, which is what matters, all thanks to you.:)