Knowledge Article created 3 days later after incident marked as resolved

LJ_23
Tera Contributor

 

LayinahJ_1-1731946547903.png

LayinahJ_2-1731946586292.pngLayinahJ_3-1731946606632.png

 

I am trying to generate a trigger which creates a knowledge article 3 days after an incident has been resolved please see above script. After including the script within the business rule I created an Incident to check if the knowledge article would be generated. After waiting 3 days I checked the knowledge articles and the Knowledge article has not been created. Is there a reason why? Am I missing something within this script? Would I need to create a scheduled job?

 

Please advise thanks

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @LJ_23 ,

 

I would suggest you to either write a schedule job with daily run to create KA or Async business rule to do so.

In Async business rule user current.sleep(add 3 days) after ticket resolution.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

View solution in original post

1 REPLY 1

Runjay Patel
Giga Sage

Hi @LJ_23 ,

 

I would suggest you to either write a schedule job with daily run to create KA or Async business rule to do so.

In Async business rule user current.sleep(add 3 days) after ticket resolution.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------