- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 12:12 AM
Hi All,
What is the practical use of display business rule, can someone please give a pratical example
Thanks,
Abhinab
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 12:33 AM
Hi,
I saw this example in the Community sometime back which I found good to explain BR concept. Check this out.
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
Let's say you are posting a question on community and community is your service now instance
First, I need to check that you not posting
any offensive materials. I can have a before rule to check that. According to
the rules setup by me, either allow or disallow the posting of the question
(Transaction).
Second, after you have passed the rules of
posting and posted the question successfully. Someone opens up your question
and likes your question. I need to award you points once the like is
successful. I can have a after business rule to set this up.
Third, you will need to get email trigger
when someone comments on your question. It does not need to be immediate. I can
have a async rule to trigger the email.
Finally, I need to update the number of views
of your question. I can have a display business rule to update the counter
related to your question ..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2016 03:23 AM
The most common use is to populate g_scratchpad to pass information to a client script. We covered this in an early video of TechNow.
Video: Client Side Scripting Fundamentals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 11:29 PM
Hi Abhinab,
I hope I have answered your question. Please let me know if you need any other assistance on this else mark the answer as correct to close the thread and make it helpful for others having same question. You can find correct option when you click on the below link. Let me know if you are not able to see the correct option I can redirect to the correct person for doing the same.
example use of display business rule
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2016 11:57 PM
Please go through section 7 of the below link
Scripting in Business Rules - ServiceNow Wiki
Thanks,
Mihir