- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 11:30 PM
Last check have to be done by Project Office. They would be the one to close the Project.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 11:39 PM
Hello,
Please check the below thread, you will the solution here.
Restrict Project closure when all Project tasks are closed
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2023 01:07 PM
Hello Sluabh,
My team is looking towards accomplishing the same solution of preventing Projects from being closed as a result of all the Project tasks being closed. In addition we want to also avoid associated Stories from being closed when Projects are closed. I see you left a hyperlink in above response but the link takes me to a page that says 'Archived'. Is there updated instructions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2023 03:03 PM
Were you able to find a resolution to this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 12:02 AM
Hey,
You can have a before update BR on Project Table, in which you can keep condition as State changes to Closed, and in the script you can glide the change tasks table to check if there is any active record or not.
Sample script:
var projectTasks = new GlideRecord("pm_project_task");
projectTasks.addQuery("parent", current.getUniqueValue());
projectTasks.addActiveQuery();
projectTasks.query();
if(projectTasks.next()){
gs.addInfoMessage('Project task/tasks are still active.');
current.setAbortAction(true);
}
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2022 04:45 AM
Hey
Didn't hear back on this. I think you marked other response as correct, although your response suggests, my response worked for you.
Is your issue resolved? If yes, feel free to mark helpful/correct, so it will be helpful for others looking for similar query.
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2024 03:22 AM
The link in the accepted solution points to an archived thread, can someone post what the original solution was?
Thanks!