Autoclose Change Request after 7 days from state change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2020 07:41 AM
Hi,
I have question regarding autoclosing records.
I have to autoclose change requests after 7 days after changing state to review.
Can any advise me how to achievie that?
I could check state and updated field, but it will take into consideration last update, not state update.
I can also refer to sys_history_line table, but it's not recommended.
Please, give me any advice if possible. Thanks in advance.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2020 08:04 AM
Hi,
You can configure workflow based on condition.
If state is "review" and add "Timer" activity in workflow and declare value 7 days.
Then add "set values" activity and assign the value of "closed complete"
Please mark it as helpful (or) correct if it helps.
Thanks,
Sumanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2020 08:24 AM
Hi,
Can you simply write a After Business Rule to achieve this.
You can refer to this below OOB Business rule on Incident table
Replace your Instance Name in the below URL
Please let me know if you have any questions!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 12:22 AM
Doesn't it work with extra field 'resolved_at'. In other case, time will be counted since last update, not cstate change update.