Business rule to copy Description in Incident task table from description in incident table

Dilip Kumar R1
Kilo Contributor

Need a  business rule so that short Description in Incident(parent) is copied to short description in  Incident Task(child), when a Incident task is created.

5 REPLIES 5

SumanthDosapati
Mega Sage
Mega Sage

Hi Dilip,

Looks like you already posted this question.

You can write a before insert business rule on incident task table

condition : incident is not empty

Script :

var parent = current.incident.getRefRecord();

	current.short_description = parent.short_description;

 

Regards,

Sumanth.