business rule

smrutiranjanmal
Tera Contributor

When incident is created or submitted then a work note must be updated automatically , stating incident record was created. 

please write a scripts for this.
3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @smrutiranjanmal 

 

Something OOTB , and added in activity logs Any reason you want to update worknotes.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

abirakundu23
Mega Sage

Hi @smrutiranjanmal ,

Please create a before/insert BR. 

akadu23_0-1712510010568.pngakadu23_1-1712510042997.png

akadu23_2-1712510108273.png

Please mark helpful & accept correct answer if it's worthy for you.

Edoardo M
ServiceNow Employee
ServiceNow Employee

Hi @smrutiranjanmal,

I suggest you use a Flow in Flow Designer. Look how easy it is without scripting and, potentially, using Flow Generation with Now Assist (done with Washington DC release in Workflow Studio with Now Assist for Creator on).

 

Flow Generation parameters:

  1. Title: Incidents Work Note automation
  2. Prompt: When an incident is created or updated with its state as "New" or "In Progress," the system automatically updates the incident work notes to add a statement that is "Incident created" when it is "New" and "Incident submitted" when it is "In Progress" 

Results:

Step 1: add prompt

EdoardoM_0-1712595812349.png

Step 2: review and adapt the suggested flow

EdoardoM_1-1712596430009.png

 

Outcomes:

  1. Implementation time: 2 minutes
  2. Editing time: 2 minutes
  3. Maintenance: everyone (no coders and pro coders)

 

BR,

Edo

 

Please mark helpful & accept correct answer if it's worthy for you.


Please mark it as helpful and accept it as a solution if it helps you in any way.