Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Assignment rules in Vulnerability Response

daggupati
Tera Contributor

Hi,

 

We are using Assignment rules in Vulnerability Response. In that we are using scripted to assign the assignment groups. So my question is if there is no group returned from the script can we move to next assignment rule?

 

Thanks

3 REPLIES 3

Not applicable

Hello @daggupati 

Yes, we can. By adjusting the order of the assignment rules, you can manage which rule will be first triggered.

Please hit on the helpful button.
Thank you

Hi @Community Alums 

 

Thank you for the response. Conditions for the assignment rule are matched but the script won't return any assignment group. So Can we move to next assignment rule basing on execution order? If so what script do I need to update?

 

Thanks

Not applicable

Hello @daggupati 
You can check your script for conditions. If the script doesn't find a suitable assignment group, you can simply return null or an empty value. This will allow the system to evaluate the next assignment rule in the sequence.

Here’s a simple example of how your script might look:

if (!group) {
    // No group found, return null to move to the next rule
    return null; 
}

Make sure to test your rules thoroughly to ensure that the fallback logic is working as expected.


Please hit on the helpful button if you think this will help you.
Thank you