- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 06:45 AM
Hi,
I have a business rule that prevents an Incident ticket from being progressed when the caller is the default 'Guest'. This rule is running before update and says if the caller is Guest, abort. Pretty simple.
Now, i have a requirement to allow users to amend 1 field on the form from the list view. It's a reference field and when it's empty i need users to be able to edit it without being blocked by the aforementioned abort rule. If there was a condition operator called 'does not change' that would work perfectly as the abort rule would only apply when the field didn't change so my users could change it with impunity. However, it doesn't exist and so here i am hoping someone can help me with a clever script or perhaps insight into how to add operators?!
Cheers
Dave
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 07:11 AM
Hi Dave,
You can add if the 'reference field changes' as a condition in the business rule for example
if (current.priority.changes() != 'true')
{
Run my abort rule
}
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 07:34 AM
Awesome Sanjiv, that's exactly what i was looking for. Thanks a lot.