Is it possible to modify the settings on the planning console duration field from days to weeks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 08:09 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 09:26 PM
The ServiceNow PPM Planning Console does not have a built-in feature to display task duration in weeks or months directly. However, you can still display the duration in weeks or months using a workaround.
To achieve this, you can create a custom calculated field on the Planned Task table (pm_project_task) that calculates the duration in weeks or months. Here's how you can do this:
-
Navigate to "System Definition" > "Tables" in ServiceNow.
-
Search for the "pm_project_task" table and open it.
-
In the "Columns" tab, click on "New" to create a new custom field.
-
Set the "Type" of the new field to "Formula" and give it a "Label" like "Duration in Weeks" or "Duration in Months."
-
In the "Formula" field, enter an expression to calculate the duration in weeks or months based on the "Planned Start Date" and "Planned End Date" fields. For example:
-
To calculate the duration in weeks, use the following formula:
FLOOR((planned_end_date - planned_start_date) / 7)
-
To calculate the duration in months, use the following formula:
FLOOR((planned_end_date - planned_start_date) / 30.44)
-
-
Save the new custom field.
After creating the custom field, you can add it to your Planning Console's task list:
- Navigate to the Planning Console of your project.
- Click on the "hamburger" menu (three horizontal lines) in the upper left corner of the task list and select "Configure" > "List Layout."
- In the "List Layout" configuration, add your custom "Duration in Weeks" or "Duration in Months" field to the "Selected" column.
- Save the changes and close the "List Layout" configuration.
---------------
Regards,
Rajesh Singh