Best practices in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 03:45 AM
Hi , I would like to know to best practices in servicenow to avoid performance issues.
Example: writing client scripts , Business rules , schedule jobs, script includes , ACL scripts , transform scripts etc.
Kindly help.
Thanks & Regards
Chandra Singala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 09:19 AM
Hi Chandra
I don't think you would get a quick or a suitable one-time answer. Performance should be a focus when drafting up technical solutions (i.e. is there a better way of doing this, or is x better than y). If you have not seen it yet, a good place to start is the Technical Best Practices: https://developer.servicenow.com/app.do#!/catlist/technical_best_practices?v=london
You can also review the Platform Performance docs to analyze the how well certain implementations are done and determine any required optimizations.
Kind regards
Shahid
EDIT: I should also recommend that you search the community for any specific recommendations as well. For example:
- here's a search for Blogs on the topic of performance: https://community.servicenow.com/community?id=community_search&spa=1&q=platform%20performance&t=blog...
- Someone created a Best Practice app: https://store.servicenow.com/sn_appstore_store.do#!/store/application/0ea3c3d1db7232006bf8ffa31d9619...
- For Client Scripting (async vs sync): https://community.servicenow.com/community?id=community_blog&sys_id=ee747f51db9d57487b337a9e0f96196d
- and plenty more...
Is there anything in particular that caught your interest?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 09:24 AM
Hi,
You have asked a very vast and crucial point to all of us and it's always advisable to use best practice than follow our instinct.
Coming to the answer anything that you do in the client side will have a negative impact on the performance. It is advisable to use server-side script than client side is not just performance but also security. One can easily circumvent client-side security than server side. The reason is in server side the form has to load before the user interacts with it. The other best practice in writing script vs using business rule is that if you can do what you want without writing script that is gonna help you to improve performance than the script.
Best,
Moh.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2018 09:24 AM
Below link could help you out:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2018 08:53 AM
@chandrasingalasnow We have built the Best Practice Engine on the ServiceNow store. You can use our tool to analyze your code in real time determine if you are violating SerivceNow Best Practices.
We would be happy to provide a demo and a free one month trial!
Visit our store page or visit our website https://www.braviumlabs.com/what-is-bpe for more information!