UI Policy for SOAR Integration

ShiningStar1
Tera Contributor

Hi All,

 

Requirement:

If caller = Securonix admin,imapct =1,Urgency=1,we need to update priority as 'HIGH' .

We have tried the below UI policy its working fine (we are getting the result as priority HIGH but its overriding another script ). Can anyone guide us how to resolve this. Screenshot is attached.

 

 

6 REPLIES 6

Hi Aniket,

 

I have written an on change client script. It doesnot work as business rule for priorities is overriding it.

 

var user = g_user.userID;
   var impact = g_form.getValue('impact');
    var urgency = g_form.getValue('urgency');

    var user = g_user.userID;

        if (user =='211fe04f1b817510a136a6c8bd4bcb7b'&& impact == 1 && urgency == 1) { //Assuming 1 as High
            g_form.setValue('priority',HIGH);
        } else if (impact == 2 && urgency == 2) {
            g_form.setValue('priority',MEDIUM); //Assuming 2 as Medium
        } else if (impact == 3 && urgency == 3) {
            g_form.setValue('priority',LOW); // Assuming 3 as Low
        }
    }

Since you want to specifically manipulate the "Priority" field against its OOB behavior, you will have to make the OOB business rule inactive and create a new Business Rule OR you can edit the same OOB business rule to achieve your requirement.

 

However it is not suggested to make OOB changes. The alternate option you can do is: Create a new field on the same Table (name it as: Updated Priority) and with the help of your new business rule, manipulate the "Updated Priority" field accordingly.

 

If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful"