Skip to content

Configure mappings

The mapping defines the way fields are used in incoming or outgoing messages.

Field Description
Name Auto-generated field based on the configuration of this record
Type
  • Action
    Mapping from a field in ServiceNow to a variable to be used in the Action
  • Action Response
    Mapping from a JSON Field (JSON Path syntax) to the related record in ServiceNow
  • Web Service
    Mapping from a JSON Field (JSON Path Syntax) to a record
  • Web Service Response
    Mapping from a field in ServiceNow to a variable to be used in the Web Service response
Method
  • Map Field
    Use the (display) value of the selected field
  • Constant Value
    Always use a static value
  • Lookup Table
    Use a lookup table to translate values
  • Date/Time
    Transform a date/time value from one format to another
  • Scripted
    Use the result from a script as value
  • Attachment Data
    Base64 encoded attachment
  • Attachment Filename
    The filename of the attachment
  • Attachment Mime Type
    The mime type of the attachment
Action If applicable, reference to the Action record
Web Service If applicable, reference to the Web Service record
Table Table used for this mapping
Field If applicable, Field in the table used for this mapping
JSON Field If applicable, value from a JSON Path to be used
XPath If applicable, value from a XPath to be used
Variable If applicable, map value to this variable name
Skip If Empty Skip this mapping if the value is empty
Mandatory Make this field mandatory, if the result of this mapping is empty the processing will stop
Constant Value If applicable, the mapping will return this value
Source Format If applicable, date/time source format
https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html
Target Format If applicable, date/time target format
https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html
Script If applicable, the result of the script will be used as value for this mapping

Lookup Table

Field Description
Source Value Input value
Target Value Translated value