Servicenow Certified Application Developer CAD · Free Practice Question Easy

Question 2

What function on the current object should you not use in Business Rule?

  • A

    current.insert();

  • B

    current.autoSysFields(false);

  • C

    current.update();

  • D

    current.setWorkflow(false);

Reveal correct answer

Correct answer: C

Explanation

Do not use current.update() in a Business Rule script. The update() method triggers Business Rules to run on the same table for insert and update operations, potentially leading to a Business Rule calling itself over and over. Changes made in before Business Rules are automatically saved when all before Business Rules are complete, and after Business Rules are best used for updating related, not current, objects. When a recursive Business Rule is detected, ServiceNow stops it and logs the error in the system log. However, this behavior may cause system performance issues and is never necessary.

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.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need