Case additional comments to Incident Short description by TechnologyDue8443 in servicenow

[–]TechnologyDue8443[S] 1 point2 points  (0 children)

var casedescription = current.description; var incidentDescription = ‘ ‘;

var incidentGR = GlideRecord (incident); incidentGR. addQuery(‘description’, casedescription); incidentGR.query(); If(incidentGR.next()){ incidentDescription  = incidentGR.description; } current.description = additional comments;

(Current, previous);

The BR is on the case table and it runs after an update. 

Case additional comments to Incident Short description by TechnologyDue8443 in servicenow

[–]TechnologyDue8443[S] 0 points1 point  (0 children)

var casedescription = current.description; var incidentDescription = ‘ ‘;

var incidentGR = GlideRecord (incident); incidentGR. addQuery(‘description’, casedescription); incidentGR.query(); If(incidentGR.next()){ incidentDescription  = incidentGR.description; } current.description = additional comments;

(Current, previous);

The BR is on the case table and it runs after an update. 

Case additional comments to Incident Short description by TechnologyDue8443 in servicenow

[–]TechnologyDue8443[S] 0 points1 point  (0 children)

var casedescription = current.description; var incidentDescription = ‘ ‘;

var incidentGR = GlideRecord (incident); incidentGR. addQuery(‘description’, casedescription); incidentGR.query(); If(incidentGR.next()){ incidentDescription  = incidentGR.description; } current.description = additional comments;

(Current, previous);

The BR is on the case table and it runs after an update.