---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Field map script variables

# Field map script variables {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Several predefined variables are available in the Source script
field.
{#r_FieldMapScriptVars__table_sly_ybg_r5__entry__3}

| Variable | Type | Description |
|-|-|-|
| source | GlideRecord | The record from the source table that is currently being processed. |
| target | GlideRecord | The record from the target table that is currently being processed. |
| answer | String | The field value to set in the target record. |
| map | GlideTransformMap | Read-only information about the current transform map record. |
| log | Function | The log object for the current import run. Use this object to log messages such as <kbd class="ph userinput">log.info("&lt;Message&gt;")</kbd> or <kbd class="ph userinput">log.warn("&lt;Message&gt;")</kbd>. This object logs to the import log for standard import sets, or other log locations as required, such as for web service imports. |
| action | String | Contains either the value insert or update, depending on whether the current target row will be created or updated. Note: The <var class="keyword varname">action</var> variable is available only when the Coalesce field is false. |
[ ]

{#r_FieldMapScriptVars__table_sly_ybg_r5}

