Forum Discussion

Kullay's avatar
Kullay
New Contributor III
6 years ago

How to send Email as current response file

Hi All,

We are trying to send an email when we are getting an error. When we get an empty file we need to skip and we are not supposed to send a mail. The mail should be only triggered when we receive any error. But we are getting mails even when there is no error.

Need your guidance to resolve this issue.

Thanks,
kullayappa

1 Reply

  • rpc1235x's avatar
    rpc1235x
    New Contributor II

    JSON Splitter snap already set to Include scalar parents.

    In the mapper I have Expression: $['wd:employee']['wd:first_name'] and Target path: first_name, but what is happening is that it only outputs the arrays that only contain one (the first one only) nested array in employee. It does not create the desired output of like in the example, two data arrays.