Best practices in servicenow

Community Alums
Not applicable

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

 

10 REPLIES 10

Shahed Shah1
Tera Guru

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:

Is there anything in particular that caught your interest?

Mohammed Kemal
Tera Guru

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.

Scott Zailer
Tera Contributor

@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!