- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
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
3 weeks ago
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

