Error in Project Workspace when creating a new project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2023 10:22 PM
Hi All,
We have recently installed Project workspace plugin. Whenever we are trying to create a new project from the Workspace it is throwing an error like 'Error Message:The year entered must be within 10 years of the current date'.
From documentation we got to know that there is a system property associated with it (com.snc.project.task.check_date_span_years). Please let us know if anyone experienced this before.
Regards,
Devika.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2023 10:50 PM - edited ‎03-23-2023 10:51 PM
Hi @Devika3 ,
Yes, I have seen this issue before. The error message "Error Message: The year entered must be within 10 years of the current date" usually appears when you try to set a start or end date for a project that is more than 10 years in the future or in the past.
As you mentioned, there is a system property associated with this issue called "com.snc.project.task.check_date_span_years". This property is used to set the maximum number of years that a project start or end date can be from the current date. By default, this property is set to 10.
To resolve this issue, you can try adjusting the value of this system property to allow for a longer date range if needed. To do this, go to the System Properties module in ServiceNow and search for the "com.snc.project.task.check_date_span_years" property. Then, update the value as per your requirement.
Alternatively, you can try setting the start and end dates for the project within the allowed range of 10 years from the current date. This should also resolve the issue.
Regards,
Teja
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2023 02:36 AM
Hi Teja,
We are setting the date as per the default value(10) only. For example, if i am selecting start date as tomorrow's date also , we are encountered with this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2023 01:48 PM
I have the same exact error. I choose tomorrow and I get this message.
  
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2024 01:24 AM
Did you resolve this ? as I see your dates are well within the 10 year period.