how do I clear a date field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 07:41 AM
In the problem management form, when a new problem is created, the closed date defaults to the open date. What is the best way to clear the value of that closed date and set the value of the closed date to when it is closed. So when I open a new problem ticket, the closed date is blank and when I click on the "Close Problem" button, the closed date is set to today. Any help is greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 07:54 AM
Hi Keith,
You can create a business rule on Insert which clears the field -
current.end_date = '';
Change 'end date' to the name of your field.
Cheers,
Charles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2016 07:59 AM
This behavior is OOB and in my instance it used to be like, start date = current , end date = tomorrow, duration = 1 day. This was the default value. I had to write conditions to skip some oob business rules to avoid this from happening.
I am not sure, but i think the OOB BR was 'Recalculate'