
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 06:27 AM
This should be fairly simple but I can't for the life of me figure it out.
We have a few custom applications with closed fields as well as closed state but unlike incidents the closed date doesn't get automatically populated when the state is changed. This is also happening on the change form when the team bypass the work flow and directly update the state.
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 06:42 AM
mark_closed is the business rule on incident that sets it. Take a look at that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 06:40 AM
A before update business rule with condition current.closed.changesTo(<value of closed state>)
if (current.closed_at.nil())
current.closed_at = gs.nowDateTime();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 06:42 AM
mark_closed is the business rule on incident that sets it. Take a look at that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 07:20 AM
Mike, this suggestion was perfect, just had to change the table and the condition and then Insert and Stay a few times
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2015 07:10 AM
Any reason why this wouldn't work in Eureka, worked perfectly in our dev environment running Fuji but the exact same rule doesn't do a thing in Prod