
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 10:13 AM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 10:48 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 10:41 AM
Hi Ibrahim,
You should be able to dot-walking with in BR filter condition. Is that not working?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 10:48 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 12:47 PM
so do I need an if statement
if ( current.assignment_group.u_mir3 == true) { // code here
}
Thanks Rahul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 11:50 AM
Hi
You can add dot-walked fields in the Filter as shown in the screenshot below:
Select the dot-walked field as shown below:
and then select the desired field (in your case the "MIR3" field), similar to shown below:
Let me know if that answers your question.
BR
Dirk