Calculate Completion Estimates For All Projects
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2023 05:57 AM
Hey there!
I'm looking to set up a scheduled job that calculates completion estimates for all projects. I've written a script for it, but it doesn't seem to be working properly. Surprisingly, the System Log shows no errors. Does anyone have any insights on how I can successfully perform this task using a scheduled job? I would greatly appreciate any advice or suggestions. Thank you so much!
Below is the script I've written:
var projectGR = new GlideRecord('pm_project');
projectGR.query();
while (projectGR.next()) {
var obj = new ProjectCalculateAJAX().updateEstimateAtCompletionCost(projectGR.sys_id);
}
Labels:
0 REPLIES 0