1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
397 views
by jamie-t-1662 (140 points)
I am using a condition node to determine if a message has the proper data to create a full file name in the destination node.  If a certain field is blank, the message writes to a file in an "Error Queue" folder instead of an upload folder for SFTP.  

Messages with missing data are rare so I would like to set up an email alert any time a file is written to the destination for the incomplete file names.  Is it possible to trigger an alert for a single event (not an error)?

Thanks!

1 Answer

+1 vote

You could setup a custom mapping function before that destination and send an email before the SFTP upload. You can send an email in any mapping using the qie.sendEmail function.

by michael-h-5027 (14.8k points)
by jamie-t-1662 (140 points)
Thank you.  This was just a matter of adding a Mapping function to use the same Boolean as the Condition used to route the file, as the "If" trigger for the email.
...