How to auto populate due date filed on problem and problem task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:40 PM
Hi All,
I need to auto populated due date value on problem and problem task table based on priority values.
ex: if priority is 1 due date is +7days need to populated on due date field
2. if priority is 2 due date is +10 days need to populated on due date field
3. if priority is 3 user will be enter the date manual, if not fill make a field is mandatory.
How can we write script for above scenario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:52 PM
Hi,
Use GlideDateTime based on your conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2023 11:56 PM - edited 11-12-2023 11:59 PM
if priority is 3 or 4 user fill the due date manual, if he not make mandatory field on problem and problem task.
How can we make due date field mandatory if problem 3or 4
I am using below script