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

Hello Dirk

Even though my levels are elevated I do not see what you see

You see Assignment Group ==> Group Fields

 

I only see Assignment Group - nothing after that. We are running NY 

 

Thanks

Hi Ibrahim,

You need type show - > click show related items, then you will be able to see the dotwalked fields.

I must have done this in my admin class but that is so easy to forget. Thanks a lot. 

 

Five stars ***** 

Hi

Do you have an update on this?

If you were able to solve your issue or your question is answered, can you please close this thread by marking the best answer as correct & helpful.

This would indicate other users also to benefit from your question.

Thanks a lot &

BR

Dirk

Ibrahim Akar
Kilo Expert

Thanks Dirk, Rahul and Pradeep. All good answers.