Error in Project Workspace when creating a new project

Devika3
Tera Guru

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.

6 REPLIES 6

Teja11
Giga Guru

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.

Devika3
Tera Guru

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.

 

I have the same exact error. I choose tomorrow and I get this message.

Project Workpsace Old.PNG

Project Error.PNG

  

Did you resolve this ?  as I see your dates are well within the 10 year period.