Forum Discussion

pranil2k2's avatar
pranil2k2
Contributor
6 years ago
Solved

How to Pass Mapping Variables to Email Snap

Hi,
I am new to SnapLogic. i need help on how to pass the Mapping variable to Email snap. I need a requirement to read the mapping variable and need to refer in Email Snap Template body. so that users can read the values on email itself.

Thanks

  • In Mapper i have two columns, and i need to configure in mail to show the table name and its stats.

    I am trying using below template as suggested in document but it is throwing error. is there any standard format to refer other than below?

    SMRT Load Stats

    Table Name

    +$$Table_name+

        <p>Table Stats</p> 
        <p>+$Table_Record_Count+</p> 
    

    Thanks Again

7 Replies

  • Aleksandar_A's avatar
    Aleksandar_A
    Contributor III

    Okay, I’ll try my best 😀 .

    The pipelines are stored as .slp files (JSON files). To start with you can export one pipeline and open it with your favorite JSON File Editor. Then you can analyze the structure of that file and try to see how the Mapper Snap Setting are stored.

    To dynamically change the Mapping Table of a Mapper Snap you can recreate the part where you specify the transformations and update the .slp file and import it or in your case you can update it using the SnapLogic Metadata Snaps.

    Hope this helps.

    Regards,
    Aleksandar.