Resource plan Start and End date is auto filled when creating from a project related list, which script is doing this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2022 10:19 AM
I want to set the start date to current date whenever a new resource plan form is loaded. I have set it in the default value and it is working if I create a new resource plan from list view of table.
javascript: new GlideDateTime().getDate()
But when I create resource plan from project related list, it is taking the project planned start date value in the stars date. How to check, Which script is doing this?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2022 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2022 07:02 PM
Hi Raghav,
I have shared the image. It only shows a UI Policy which is making the field mandatory but nothing on how the value is auto populated when creating it from Project related list.
Do you have any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2022 04:58 AM
yes these are not changing the values, can you check the default value of the field?
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2022 06:36 AM
The default was empty only. When I create new from a list view, it is empty but when I create it from a project related list, it takes values from Project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2023 01:01 AM
If someone looking at this question, below might help.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0790193