dotwalk filter condition in Business Rule

Ibrahim Akar
Kilo Expert

I have a Business Rule on the incident form that runs a script that sends a page request to OnSolve MIR3. 

The current filter condition for the business rule is Priority >= 2 

The paging is based on the assignment group. So ServiceNow sends the assignment group name and OnSolve figures out who to send the page to based on schedules in that system. However, this is just too broad because the vast majority of our assignment groups do not get paged and so we only want the business rule to fire if the support group accepts paging.  On our group form we have a true/false flag that indicates whether or not the support group can be paged and the field name is basically called MIR3. 

So I need to add another condition that says .. 

look at the sys_user_group record for the current assigned group and see if the MIR3 flag is set to true or false. If true and the priority of the incident is >= 2 then send the page. If the MIR3 flag is false do nothing. 

Thanks

 

1 ACCEPTED SOLUTION

rahulpandey
Kilo Sage

Hi Ibrahim,

Assuming , Field name for True/False flag for Accept Page is "u_accept_page"

You can use dotwalking in condition builder to achieve this,

Assignment Group.Accept Page = true;

Else, you can write below code condition field in Advance tab of business rule,

current.assignment_group.u_accept_page == true

View solution in original post

13 REPLIES 13

Please mark correct answer, so it can be removed from "unanswered" question.

Hey Ibrahim,

Did it help? Could you please mark answer correct ?

Hi Ibrahim,

Did you get a chance to review the replies. Please  mark appropriate answer correct, so this question can be removed from unanswered question.

Hines
Tera Expert

You may also have to first select "Show Related Fields" at the bottom of the list to then be able to select the dot.walk path. At least that is how my Washington DC Dev env is configured.

Hines_0-1725375502069.png