Days calculations for Knowledge article using mail script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 11:12 AM
I need to send expiry notification based on valid to in knowledge base
i have created flow design it is triggering exactly using lookup activity
but in the notification, am using mail script to calculate days based on valid to field in knowledge article
as below
please find logs
12th jun 15:30 aest(same day output)
validDateFormatted 2024-08-11
todayDate 2024-06-12
days 59
finalDays 59
dur 2024-06-12
12th jun 9:15 aest(same day output)
dur 2024-06-11
validDateFormatted 2024-08-11
todayDate 2024-06-11
days 15
dur 2024-06-11
finalDays 60
Please advice how to write mail script which should consider correct days i.e., 60 days irrespective of time on same day
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 01:49 AM
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark