CAD · Question #168
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?
The correct answer is B. Write a script in the Record Producer's Script field: producer.redirect = '<URL>'. 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…
Question
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?
Options
- AConfigure the page in the Module that opens the Record Producer.
- BWrite a script in the Record Producer's Script field: producer.redirect = '<URL>';.
- CCreate an application property to store the URL.
- DWrite an after Business Rule script for the Record Producer's table: window.redirect = '<URL>';.
How the community answered
(39 responses)- A8% (3)
- B87% (34)
- C3% (1)
- D3% (1)
Explanation
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. producer.redirect = 'incident.do?sys_id=' + current.sys_id; This script redirects the user to the newly created incident record after submission.
Topics
Community Discussion
No community discussion yet for this question.