- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 08:19 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 08:57 PM
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
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 08:57 PM
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
-------------------------------------------------------------------------