- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:20 AM
Hi All,
I have a before insert BR to populate affected company and location field based on caller, this BR should run only if incident is created from Record Producer, Can anyone please suggest?
Thanks,
Saranya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:38 AM
Hi @Saranya2
If a incident created via RP, then contact is populated Self Servcie, if that can be a fixed parameter for you then it is good to put in BR
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:41 AM - edited 04-15-2024 05:13 AM
If you prefer not to create a new field, you can include a specific format in either the short description or the description field, like this: "Description: [Actual description]" Then, in the business rule, you can set a condition to trigger when the description starts with "Description". If you want this rule to apply only to record producers, you'll need to add additional conditions to check for that context.
OR
you can utilize the "contact_type" field on the incident form, set it as "self service" , when you submitted it from the record producer and add a condition in the business rule for the same.
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:27 AM
I hope you are doing well!
You can create a flag variable on the incident form and make it hidden, say
fieldname as Flag
when you submit the record producer, set flag as "business rule"/"true"
In the business rule, you can add condition as
IF flag is true/business rule, is should execute then
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:35 AM
Hi @Prince Arora,
Is there any other way instead of creating new field on incident form?
Thanks,
Saranya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:41 AM - edited 04-15-2024 05:13 AM
If you prefer not to create a new field, you can include a specific format in either the short description or the description field, like this: "Description: [Actual description]" Then, in the business rule, you can set a condition to trigger when the description starts with "Description". If you want this rule to apply only to record producers, you'll need to add additional conditions to check for that context.
OR
you can utilize the "contact_type" field on the incident form, set it as "self service" , when you submitted it from the record producer and add a condition in the business rule for the same.
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:38 AM
Hi @Saranya2
If a incident created via RP, then contact is populated Self Servcie, if that can be a fixed parameter for you then it is good to put in BR
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************