- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:14 AM
Hello experts,
The incident state is 'on hold' and on hold reason is 'awaiting caller'. if the state value changes to any other thing apart from 'on hold' and on hold reason as 'awaiting caller', i need to trigger a BR like if it moves to 'on hold' and 'awaiting third party' or lets say it moved to in progress i.e any other value apart from on hold and awaiting caller, the BR Should trigger.
Can anyone please help me in the condition part. Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:37 AM
try this in script of before update business rule
// Only run on update
if (
previous.state == 3 && // 3 = On Hold (verify your instance's value)
previous.hold_reason == 'awaiting_caller' && // 'awaiting_caller' is the value in the dictionary
(
current.state != 3 || // State changed from On Hold to something else
current.hold_reason != 'awaiting_caller' // Or On Hold Reason changed from Awaiting Caller to something else
)
) {
// Your business rule logic here
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 05:54 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:28 AM
Hi @Deepika54 , you can try adding the filter conditions like any one of these :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:28 AM - edited 07-14-2025 03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:36 AM - edited 07-14-2025 03:43 AM
Hello @Deepika54
You only need to trigger the BR or you have any specific use case or configuration that should be done after triggering the BR.
Based on your use case below is the condition you can refer.
Use Before Update BR.
PFA the screenshot.
Below is the script:
Regards,
Rathan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2025 03:37 AM
try this in script of before update business rule
// Only run on update
if (
previous.state == 3 && // 3 = On Hold (verify your instance's value)
previous.hold_reason == 'awaiting_caller' && // 'awaiting_caller' is the value in the dictionary
(
current.state != 3 || // State changed from On Hold to something else
current.hold_reason != 'awaiting_caller' // Or On Hold Reason changed from Awaiting Caller to something else
)
) {
// Your business rule logic here
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader