Set the Follow up date based on due date in Task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 03:14 PM
My client's requirement is that once the due date field is populated based on Employee start date that the follow up date field gets updated with the same date.
I am seeing allot of help on adding dates but I need to just have them match the due date.
This is the script I found but its not working:
Any assistance would be appreciated
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2025 09:08 AM
Hi Krishnamohan
Here is what I have
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 06:26 PM
try changing
followUp.addDays(0); // Add 2 days (or any desired amount)
to:
followUp.addDays(2); // Add 2 days (or any desired amount)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2025 09:09 AM
thanks but I am trying to have the same date that is in Due Date not a calculated date based on 2 or more days.