Skip to main content
Inspiring
March 11, 2021
Question

Mail issue

  • March 11, 2021
  • 7 replies
  • 1 view

Hi,

 User Needs to enter the data and complete row data needs to be sent via mail.  Have created a template and its working fine, If  user is entering the value for salary field  for first row. But when user is entering the value for salary field in second or later row then am getting the mail with Salary field empty with first row data. Though Data is getting saved in database if user is entering the Salary in second or later row.

    7 replies

    mikes0011
    Brainy
    March 11, 2021

    How is your email template configured, and how is the data being passed into it?  There are a lot of unknown variables here which could be affecting how it behaves.

    The Expression Guru
    Inspiring
    March 11, 2021

    Mike i mean i can only send data for first row, even if i enter data in second row then also first row data is getting triggered since in script task am passing below code. I guess i need to add looping. If so can you please help what code i should pass . thanks

    mikes0011
    Brainy
    March 11, 2021

    I still have no way of knowing what you're actually trying to do in the email template itself - can you share a screenshot of the template configuration, what replacement fields you've set up and how, as well as some more context around the getData rule you posted a screenshot of above?  In other words, where is the output of this rule being sent and what is it expected to be doing?

    The Expression Guru