Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 10:25 AM - edited ‎12-27-2022 10:27 AM
when a knowledge article is created, the valid to date is auto-populated to the current date + 364 days.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 10:35 AM
You can write a business rule to populate that.
//Sample code
var dt=new GlideDateTime();
dt.addDays(364);
current.valid_to=dt;
gs.info(dt)
Thanks and Regards,
Saurabh Gupta
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 10:35 AM
You can write a business rule to populate that.
//Sample code
var dt=new GlideDateTime();
dt.addDays(364);
current.valid_to=dt;
gs.info(dt)
Thanks and Regards,
Saurabh Gupta