populate resolution code and notes in service now using business rule

XYZ
Tera Contributor

Hello Community,

 

I'm looking to populate resolution notes and codes using Business Rule in ServiceNow.

 

I tried business rule on before update condition on incident table

current.close_notes="This is testing";

 

It is not working.Please help here 

 

Thanks

 

5 REPLIES 5

jaheerhattiwale
Mega Sage
Mega Sage

@XYZ The code is correct. There might be something else which is removing the clode note. please check.

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

ersureshbe
Giga Sage
Giga Sage

Hi, what is your when to run condition and check the order of business rule. You use below option to configure the mentioned value instead of writing the script.

ersureshbe_0-1670931684702.png

 

 

Regards,
Suresh.

XYZ
Tera Contributor

Yeah..when status is resolved that's the condition 

Hi, It's working fine for me. I doubt, your team written another custom code may it's blocking. Can you check any other code paralley running? I recommend to test the same in your PDI.

If helps can you mark as helpful or correct answer.

Regards,
Suresh.