Is it possible to get deleted project tasks back?

nicholar
Kilo Contributor

A user deleted a project and consequently all of its child project tasks. I undeleted the project record but it did not bring back the project tasks. Is there a way to get those tasks back?

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

I just tested, If i delete individual project task, it stores the record in Deleted Records.

But if I delete a Project, it will also delete its related items using cascade deletion. It captures Cost Plan etc in the deleted Record. But it doesn't show the Project task records deleted. Looks like a ServiceNow Bug. You should raise a HI ticket


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

13 REPLIES 13

It should be there. Did you search with the user name who deleted it. Check the created by field for that particular day. You should find what all data deleted by that user


Please mark this response as correct or helpful if it assisted you with your question.

Yes, this is correct. If you delete project, project tasks are not stored in deleted records table.

Please use below option "undelete with related" while restoring project.

 

find_real_file.png

 

Regards,

Sachin

I don't remember seeing "undelete with related" when I went to restore the project. I'm pretty sure there was only an option to "undelete record". Assuming I selected "undelete record" are the project task records lost? Or are they orphaned somewhere?

I can see the the deleted record for project task in Deleted Record module

 

 

Are you sure he deleted the project tasks as well?

can you go and check in the Project task if there are any orphaned task which was linked to that project


Please mark this response as correct or helpful if it assisted you with your question.

Whats your instance version?

You get "Rollback" UI action from london release to restore your record with references.

You can also run below one time fix script to restore project task

 

var deleted = new GlideRecord('sys_audit_delete');


deleted.addEncodedQeury('put query here');


deleted.query();


while(deleted.next()){


new GlideAuditDelete().undelete(deleted.sys_id);


}

 

Regards,

Sachin