ui action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 05:55 AM
I have a a button which creating a record in task table when i click on publish button.
but the requirement is if today is start date and end date is 16 so when I click on publish then it should create 6 tasks in task table how it is possible?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2024 07:35 AM
Hello @Vedavalli
if datediff function is showing error then try using below method instead of line 3
var numberOfDays = GlideDate.subtract(startDate,endDate);