Which of the following objects does a Display Business Rule NOT have access to?

Which of the following objects does a Display Business Rule NOT have access to?
A. previous
B. GlideSystem
C. g_scratchpad
D. current

Download Printable PDF. VALID exam to help you PASS.

Posted in: CAD

3 thoughts on “Which of the following objects does a Display Business Rule NOT have access to?

  1. As per documentation answer should be A but this is not true in practice.
    Question is either tricky or messed up.
    https://docs.servicenow.com/bundle/sandiego-application-development/page/script/business-rules/concept/c_ScriptingWithDisplayBusinessRules.html

    …but still there is access to “previous” object but as there was no change on the form yet then previous == current.
    …so still answer A even if in practice it is wrong answer but on the other hand there is no purpose of using “previous” if it’s the same as “current”.

  2. I just played around with a Display business rule and found out that all objects are accessable via script:

    current – contains the record

    previous – also contains the record

    GlideSystem – I used gs.error() and it worked

    g_scratchpad – JSON.stringify(g_scratchpad, null, “\t”) yields
    {
    “browserSupported”: true,
    “isNewUI”: true
    }

    So I would say the whole question is faulty.

    1
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.