Complete Service Now Questions
Complete Service Now Questions
4.Query BR vs ACL
Actually we have got the requirement where the filters applied should not be visible to the
end users in that case we have written this query BR
Restrictions such as read ,write,create,delete access at row and coloumn level to the particular
users
Query BR is giving control during the querying time which apply read access only at the row
level.
5 How does Display BR works
we got the scenario where we have to work on the state field which was not visible on the
form.Because of some reason state field has been hidden
Where we have to set the Assign to manadatory based on the state field there we have used
display BR where we have stored the current state value in g_scratchpadval and by using client
script we have took the value of state which was stored in g_scratchpadval. And set the assigned
to mandatory.
Onload
Onchange
Onsubmit
OncellEdit
oncellEdit(sys_IDs,table, oldvalue,newvalue,callback)
It is Boolean value indicating whether the change occurred due to population of fied by a
template
If we want apply client script on List the we are going to use OncellEdit
ex:if we want to change the caller in list and set state field readonly we can use it
UI policy works only on the form but Data policy works on list view
UI policy works only when user opens the form Data policy even works on imported set ex:data
from database.ex:while importing the data from the database we have made some fields
mandatory by Datapolicy if the field made mandatory are empty then the DP will ignore the
records.
Assume we have background script and we are updating incident state to resolved .we Had a UI
policy where it was working only on the form In Background script we are not able to make resolution
code and resolution information mandatory,It was allowing me change the state from InProgress to
Resolved. Hence we wrote A data policy where we made resolution code and information mandatory
and then we executed the background script where it did not allowed to change the state.
Data policy will work when the record is inserted or updated from third party source
Integrations
Background scripts
yes
14 how to debug CS
//where we get the current information of the system or logged in user etc.
16. can gliderecord be queried in CS
Yes ,but it is not a best practice we have to use GlideAjax and call the script include because while
running the script on the form there will be multiple records which may slow down the form.
It is used to allow a child table have a different value than the same field in the parent table
Ex:we can change state field value to open in child table which is new in parent table
Yes,…
Dependent field value is used to define the value based on which the options are displayed in
particular field ex:category and subcategory
Every choice we have to mention the dependent choice of the particular field.
3 types
Event is fired
Triggered
gs.addeventQueue()2 parameter event parm1 and event parm2 and explain event fired example
25. How to add custom email address in "FROM" when sending email
Events are special records the system uses to log when certain conditions occur and to take action in
response to conditions. The system uses BR to monitor for system conditions and to generate event
records
Iam not sure.I don’t know.Are we talking about event queue which we trigger from business rule
27.syntax of events
I don’t know.Are we talking about event queue which we trigger from business rule
a) Condition field has a limit of 180 characters assume I have lot of conditions to be given in the UI
action How can I do that .
3 Ways
31 what is action.setredirecturl
It is used for which page it should move after the particular UI Action button is triggered
It is used to come out of client script in UI action and to trigger the UI action again in the server script.
Passing Action Name as parameter in gsftsubmit ensures the client side validation to move ahead.
33. how can we validate a field and run server script after the validation in ui action
If we want to call the SI from client side then we have to active the client callable checkbox.
Yes.
By using Glide Ajax in client script we can receive the data from the server.
Asynchronous call doesn’t wait till the response is given by the server.i.e we use getXML() in client script
Synchronous wait till the response is given by the server.i.e we use getXMLwait() in client script
39.syntax of SI
We used xml…
RP is used to create a record on the backend where it provides a better enduser experience instead of
using the regular form. Explain DP jenbacher RP
Yes
I haven’t work on that before.But I know the by using this we can order multiple catalog items
I haven’t work on that survey.I know for every incident based on some condition survey will be
triggered to get the feedback ex:incident
46.what is the best practise to transfer a survey across instances
I haven’t work on that survey.I know for every incident based on some condition survey will be
triggered to get the feedback ex:incident
Service Level Agreement record defined the timings,conditions,workflow,and other informations require
to create and progress task SLAs.
SLA- The contract between IT Organization and end user ex in between your company and end user
(customer).
UC-Contract Between IT organizations and suppliers ex between your company and vendors
Yes.
I haven’t work on it ,but I know whenever I clicked on ui action a new dialog window will opens
I haven’t work on it ,but I know whenever I clicked on ui action a new dialog window will opens
I don’t know
55.What are Formatter & How to create
I don’t know
OncellEdit
I know how ui macro works ex:it just look like a icon next to the field where we have configured to
call the ui macro from attribute field
Explain extend i.e while creating the table we will get the field called extend which specify the
extending table.
No,
62.What is ACL?
It is used to give the access to specific roles and user i.e what data is users can access and how they
can access it.
First table acl should satisfy then only we can go for particular field
66. how can we restrict users from a particular assignment group via acl
Query(‘group’,groupID)
Query(‘user’.userid)
67. types of acls
*level ACL
ListEdit Acl
Create,Write ,Read,Delete(explaination)
69. acl is giving write access and CS is making read only. What will work
Acl-write access will work
Data sources
It is used import data from various data source and then map that data into service now tables
No
3.types of mapping
Auto mapping,
mapping assist,
field mapping
Coalesce takes true or false value if we set true value for a particular field
Example we have set name field as coalesce in mapping it will check that field name in target tale if that
name is present it will update or else it will insert
77 .if data is inserted into a table having a referenced field, will it create data into the referenced table
also
I haven’t work on this jdbc to connect service now and external system
Problem
If the one or more incident is having the same underlying issues then we are going to create a problem
to analyise the root cause (ex:email issue)
If any team is involved in root cause analysis(EX server team and network team)We will create a task
and assign to each of the team
If any change is required then we create a change request
When the problem is Closed all the related incident will be resolved.
We can convert Problem into kb article and we can use this kb article when the same issues has been
raised we can link this KB article to the incident
104. How to change the number of days when an incident state change from Resolved to closed
Platform question
1 how to hide a particular module from the navigation for a particular group.
2.how to modify the OOB script include method which is in a read only format.
6.How to pass variable value from parent workflow to subfow ?what is the way to send the current
object to subflow
ITSM
1How to show a new field in the default template for standard change template while proposing a
new standard change template from record producer for ex:configuration item need to displayed
while proposing template.
3,how do you create a workflow for knowledge article belonging to a new kb (IT)? What is condition
you will put in the workflow and how it will link to kb
4.how to make revert to new button available on scheduled state?OOB its on access and authorized
states