- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 09:57 AM
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?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:59 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:09 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:17 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:26 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2018 10:41 AM
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