When to use Client Scripts vs UI Policies vs UI Actions vs Business Rules

quiksilver
Mega Guru

Hi Guys,

Just starting to play around with scripts , and was wondering if you can give me a guideline on when is the best time to use Client Scripts or UI policies or UI actions, I'm still at a lost on which one to use .

thanks for your help

quik

6 REPLIES 6

CapaJC
ServiceNow Employee
ServiceNow Employee

1) UI Policy
2) onSubmit() Client Script
3) UI Policy or Client Script since you'll need to script it anyway
4) If you mean this should happen when the incident is opened, an onLoad() client script. If you mean just have something pop up all on its own, don't think it's possible.
5) UI Policy or Client Script since you'll need to script it anyway
6) inactivity monitor on the sysapproval_approver table


thank you very much