---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Populate record producer data

# Populate record producer data and redirect users {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
You can enter data for all records created by the record producer, and redirect an end
user to a particular page after the record producer is submitted.  
To enter data with a record producer, use any combination of the following methods:

* Create a variable on the record producer with the same name as the field in the target record. For example, a variable named caller_id on a Create a New Incident record producer populates the `caller_id` field on the new incident record. Use a [variable
  type that corresponds to the field type](https://www.servicenow.com/docs/wPcrwE1Y8CD8RqLj8ZrIAg "Use variables to collect data for record producer fields.").
* Define a [template](https://www.servicenow.com/docs/access?context=c_Templates&version=brazil&pubname=brazil-platform-administration&ft:locale=en-US) to assign a static field value for all records created by the record producer.
* Define a script that uses any variable or server-side objects and functions to assign values.
  * Use `current.*FIELD_NAME*` to reference fields on the record being created.
  * Use `producer.*VARIABLE_NAME*` to reference values entered by the end user.
  * Use [RP.getParameterValue](https://www.servicenow.com/docs/access?context=RenderProperties-Scoped-API&version=brazil&pubname=brazil-api-reference&ft:locale=en-US) to return specified parameter values passed on the URL. The RP stands for Render Properties, not Record Producer.
  {#c_PopulatingRecordData__ul_g55_ppd_2p}
{#c_PopulatingRecordData__ul_dbx_jpd_2p}

## Redirect after submitting a record producer

To redirect an end user to a particular page after the record producer is submitted, define the redirect link in the Script field using any of the following:

* `producer.redirect`: Enables the redirect behavior within the Platform UI.
* `producer.portal_redirect`: Enables the redirect behavior within Service Portal.
{#c_PopulatingRecordData__ul_jqt_ccp_dz}

For example, the following code redirects users to their homepage after the record producer
is submitted:

* Within the Platform UI:

      producer.redirect="home.do";

* Within Service Portal:

      producer.portal_redirect = "sp?id=sc_home"

{#c_PopulatingRecordData__ul_lcg_hgn_hz}  
The following code gives the id of the record producer:

    RP.getParameterValue('sysparm_id')

**Related tasks**   

* [Create a record producer](https://www.servicenow.com/docs/CiwgXX1ILeyvULjqapkVBQ "You can create a record producer for tables and database views that are in the same scope as the record producer. Also for tables that allow create access from applications in other scopes.")
* [Create record producers from tables](https://www.servicenow.com/docs/YjAt2sy3NpySGyS1eBMgpA "You can create Service Catalog record producers directly from a table record.")

