how to call server script in client script ?

psrpar
Kilo Explorer

Hi,

ServiceNow user group ch-- Switzrland

thanks for CH--group becoz you gave answers( i am expects that only) for

my questions

again

i have small doubt plz help me

becoz i am fresher

how to call UI script in server script ?

how to call UI script in business rules ?

how to call script include in client script ?

how to call a UI actions in client script ?

how to call a UI actions in server script ?

how will you prepare email notification ?

which type of server script like business rules,script include ?

7 REPLIES 7

prithvirajchaud
Mega Expert

https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/script/server-scripting/referen...


GlideAjax - ServiceNow Wiki


Check out these for


how to call script include in client script ?



And this


Email Notifications - ServiceNow Wiki


for how will you prepare email notification ?


Deepak Kumar5
Kilo Sage

UI script is same as script include except one is for Client side and another is for Server side.


You can use Client script to call server side from Script include   using GlideAjex .


We don't call UI script from business rule because you have all data available in Server side along with Current and previous value set from Client side.


thanks for every one of group members




how will you prepare email notification ?




On Tue, Dec 27, 2016 at 4:37 PM, dddkkk <community-no-reply@servicenow.com>


You can configure Email directly on a table for Insert/update on that table for you condition you wrote there.


Go to System Notification--> Email --> Notification



You can also trigger notification for some events.


Create a event, trigger it from business rule/workflow and in notification choose that it will trigger for that events.