- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2026 02:17 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2026 02:48 AM
Adding some logs or looking at a record would reveal that the value of the risk field when selecting 'High' is 2 - out of box, at least, you should confirm this in your environment then change your first if condition:
if (current.risk == 2 && current.state == -3) {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2026 02:48 AM
Adding some logs or looking at a record would reveal that the value of the risk field when selecting 'High' is 2 - out of box, at least, you should confirm this in your environment then change your first if condition:
if (current.risk == 2 && current.state == -3) {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2026 03:00 AM
thank you for the reply Brad Bowman i tried same yesterday changing backend value of risk to -2 instead of HIGH this approach worked for me
