Application developers can specify which ServiceNow page a user sees after submitting a new record using the Record Producer UI. How is the page specified?
A.
Configure the page in the Module that opens the Record Producer.
B.
Write a script in the Record Producer’s Script field: producer.redirect = '';.
C.
Create an application property to store the URL.
D.
Write an after Business Rule script for the Record Producer’s table: window.redirect = '';.
In ServiceNow, a Record Producer allows users to create records in a specific table through the Service Catalog. After a user submits a Record Producer, developers may want to redirect the user to a specific page. This can be achieved by setting the producer.redirect property within the Script field of the Record Producer.
This script redirects the user to the newly created incident record after submission.
Option A is incorrect because configuring the module that opens the Record Producer does not control the post-submission behavior.
Option C is unnecessary for simple redirection purposes; creating an application property to store the URL adds unnecessary complexity.
Option D is incorrect because using window.redirect in a Business Rule is not appropriate; Business Rules run on the server side and do not have access to the client-side
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit