- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 09:15 AM
Hi guys, we want to use a simple abort business rule to prevent certain (RITM) records being assigned to certain groups.
This is working fine and is showing a message but we are wondering how we can make it so the Assignment group value reverts back to what the original value was (instead of showing the group they've selected that they're not allowed to assign to)?
Many thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 09:17 AM
Put in your code
current.fieldname = previous.field_value;
This will revert it back to the previous value.
If this resolved your question, please mark this as solved!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 09:17 AM
Put in your code
current.fieldname = previous.field_value;
This will revert it back to the previous value.
If this resolved your question, please mark this as solved!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2019 01:31 AM
Many thanks for that.
I had to also code the abort action (below if anyone needs it) instead of using the 'Abort action' check-box to allow me to see/use the script box.
current.setAbortAction(true);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2019 09:18 AM
did you try to use previous object in your business rule?
assuming here the business rule is before or after so you can use previous object.