- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 02:11 PM
I have a case table (custom) where I am trying to report on the number of times a case was re-opened. I am trying to increase the count in the u_reopen_count field by 1 when the case is changed from 'resolved (6)' to any other value excluding resolved or closed.
I am very new and I am having challenges with the business rule. Anyone have any recommendations?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 03:55 PM
Hi Lisa,
1) I forgot to mention,in condition use the resolved state value and closed state value instead of resolved ,closed names.Values may differ in every company,that's why I used the names in the condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 02:16 PM
Modify condition like this:
((previous.state == 'resolved' || previous.state == 'closed ') && (current.state != 'resolved' && current.state != 'closed') )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 02:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 03:08 PM
1) Can you change it to before update business rule
2) verify field name and field present in that table (or) not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018 03:49 PM