Business Rule to copy Incident description to SIR when "Create Security Incident" button is clicked

Snow Angel
Tera Expert

Hello everyone,

How do I script in Business rule to achieve below requirement.

When  "Create Security Incident" button (existing UI Action) is clicked within an Incident record, the Description field contents for the Incident should be copied to the Description field within the resulting Security Incident.

 

Please help. TIA

5 REPLIES 5

Hemanth M1
Giga Sage
Giga Sage

Hi @Snow Angel ,

 

You can have a onAfter insert BR without any code as below

you have to click on "Show Related List" to find Task >Task fields > Type is Incident

HemanthM1_0-1696618199976.png

Action section values:

Show related list>parent>parent fields>Description

HemanthM1_1-1696618238764.png

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hi Hemanth,

I'm only getting Task Type as "security incident" as I'm on sn_si_incident table. Please advice. Thanks

SnowAngel_1-1696620623647.png

 

 

Hi @Snow Angel ,

 

Look for Parent>Task Fields >Task Type >Incident 

(make sure you clicked on Show related list at the bottom of the list to show these fields):

 

HemanthM1_0-1696660056590.png

 

And in the action section > Description same as parent>task fields>description (here also click on show related list)

 

let me know if any questions.

 

I know we can do it in the "Create Security Incident" UI action however creation of security incident is in script include and i wouldn't recommend to disturb the OOB logic.

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

SanjivMeher
Kilo Patron
Kilo Patron

You need to make changes to the Create Security Incident UI action to copy the incident description to the security incient.


Please mark this response as correct or helpful if it assisted you with your question.