Skip to main content
jankit6
Staff
Staff
March 14, 2025

Technical Tip: How to map source ID containing long numbers to a text record field in FortiSOAR

  • March 14, 2025
  • 0 replies
  • 185 views
Description This article describes how to configure Jinja to map the source ID, or any other field containing a long number, to a text file in FortiSOAR.
Scope FortiSOAR.
Solution

The value of the field in FortiSOAR changes to scientific notation instead of retaining the original long number when mapping a field ingested from a third-party tool. As a result, this may impact subsequent actions, depending on the value.

 

  1. Open the 'create record step' in the playbook, which is responsible for ingesting the data and creating records in FortiSOAR.
  2. To map fields like 'source ID', follow these steps:
    1. Search for the field: Locate the field where the mapping is required, such as 'source_id'.
    2. Use Jinja syntax: Enclose the mapping in single quotes and use the following syntax to retain the original value without it converting to scientific notation. This will ensure that the value is mapped as-is, preserving the long number without converting it into scientific notation:

 

'{{vars.data.source_Id}}'