Auto generate incident

carlosllano
Tera Contributor

When a ticket is closed with a specific subcategory, can we get a follow-up ticket in 30 days that says "Audit user activity"

2 REPLIES 2

Aman Kumar11
ServiceNow Employee
ServiceNow Employee

Hello @carlosllano ,

 

You may consider creating a scheduled job (All > System definition > Scheduled jobs) that would run once daily. For each run you can have the logic such that it would retrieve all the incidents that were closed 30 days back along with the subcategory filter as per you business need. For each of these incidents you can have your follow up ticket created.

 

Please mark this response as correct and/or helpful if it assisted you with your question ðŸ˜Š

 

Regards,

Aman Kumar

Jessica40
Tera Contributor

Hi @carlosllano ,

You can go with the scheduled job approach or you can also use a flow designer with record update trigger i.e. when the ticket state changes to closed and you can add the condition of your subcategory. Then you can add the wait for duration of time (relative duration) and in the next step create the record.