Skip to content

Configure mappings

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

FieldDescription
NameAuto-generated field based on the configuration of this record
TypeAction – 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
MethodMap 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
ActionIf applicable, reference to the Action record
Web ServiceIf applicable, reference to the Web Service record
TableTable used for this mapping
FieldIf applicable, Field in the table used for this mapping
JSON FieldIf applicable, value from a JSON Path to be used
XPathIf applicable, value from a XPath to be used
VariableIf applicable, map value to this variable name
Skip If EmptySkip this mapping if the value is empty
MandatoryMake this field mandatory, if the result of this mapping is empty the processing will stop
Constant ValueIf applicable, the mapping will return this value
Source FormatIf applicable, date/time source format
https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html
Target FormatIf applicable, date/time target format
https://docs.oracle.com/javase/10/docs/api/java/text/SimpleDateFormat.html
ScriptIf applicable, the result of the script will be used as value for this mapping

Lookup Table

FieldDescription
Source ValueInput value