Project Planning Console - Actual hours logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 03:58 AM
Hello there,
in our project planning console, the 'Actual hours' field is only filled if the resource plan for the resource has the status 'Allocated'. I would like to change the logic and also show 'Actual hours' if the resource plans have the status 'Confirmed'.
How is this possible?
Can you please help me in this case? Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 01:57 PM
Hey there,
So, you want to show the 'Actual hours' for resource plans that are 'Confirmed' and not just 'Allocated', right? No worries, here's what you can do:
1. First off, find the script or business rule that's handling the 'Actual hours' calculation in the project planning console. It could be hiding in a script include, a UI action, or a sneaky business rule tied to the resource plan table.
2. Once you've tracked it down, open it up in the ServiceNow script editor or whatever configuration tool you're using.
3. Look for the part of the code that's checking the status of the resource plan and doing its thing with the 'Actual hours'.
4. Tweak the logic to include both 'Allocated' and 'Confirmed' statuses. You can use an OR condition to check if the status matches either one.
5. Save your changes and give the project planning console a test run to make sure the 'Actual hours' are showing up correctly for both 'Allocated' and 'Confirmed' resource plans.
Keep in mind that your specific ServiceNow setup might have its own quirks and customizations, so your mileage may vary. It's always a good idea to test things out in a non-production environment before unleashing your changes into the wild.