Servicenow Certified Application Developer CAD · Free Practice Question Medium
Question 30
Which of the following methods are useful in Access Control scripts?
-
A
g_user.hasRole() and current.isNewRecord()
-
B
gs.hasRole() and current.isNewRecord()
-
C
gs.hasRole() and current.isNew()
-
D
g_user.hasRole() and current.isNew()
Reveal correct answer
Correct answer: B
Explanation
g_user s not available in a server-side scripts.
There is no function such as isNew(). There is a function named isNewRecord()
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
