简体   繁体   English

Informatica,通过一个会话发送多封电子邮件

[英]Informatica, Multiple emails sent through one session

I am currently working on creating an Informatica mapping and workflow where I will have to send emails based on when a specific field in the mapping changes. 我目前正在创建一个Informatica映射和工作流,其中我将必须根据映射中特定字段的更改时间发送电子邮件。 Right now, I have that field sorted and then sent to a transaction control transformation where I have implemented logic so that if the current field value doesn't match the previous field value, I will then Commit otherwise I will continue the transaction. 现在,我已经对该字段进行了排序,然后将其发送到事务控制转换,在其中实现了逻辑,以便如果当前字段值与先前的字段值不匹配,那么我将提交,否则将继续进行事务。

The problem I am running into is that at the session level, I will have to send an email out each time the target values are committed (when the field value changes) and I am not entirely sure how to do that. 我遇到的问题是,在会话级别,每次提交目标值时(字段值更改时)我都必须发送一封电子邮件,但我不确定如何做到这一点。 How can I create a workflow where an email will be sent out multiple times within the session? 如何创建工作流,以便在会话中多次发送电子邮件? Another important factor is that each time this session is run, the number of emails that have to be sent out could change or the number of rows that are committed each time could also change. 另一个重要因素是,每次运行此会话时,必须发送的电子邮件数量可能会更改,或者每次提交的行数也可能会更改。 So is there a way to implement this logic based on changing criteria? 那么,有没有一种方法可以基于不断变化的标准来实现这一逻辑?

To give a more concrete example, imagine I have the fields 'Names' and 'Number', where every time the name changes, I have to be able to send an email out to someone listing the 'Names' and the 'Number' fields. 举一个更具体的例子,假设我有一个“名称”和“数字”字段,每当名称更改时,我都必须能够向某人发送一封电子邮件,列出“名称”和“数字”字段。

Names        Number
Bob          23
Bob          31
Bob          41
Alex         14
Alex         75
Steve        32
Steve        29
Steve        83

The next time the session is run though, the fields could be completely different, as shown below, but I would still need the same logic to apply where I have to send an email out to someone if the name changes. 下次运行会话时,字段可能会完全不同,如下所示,但是如果名称更改,我仍然需要相同的逻辑来应用在我必须向某人发送电子邮件的地方。

Names        Number
Tom          42
Carl         12
Carl         23
Carl         56
Carl         23
Evan         31
Evan         24
Kevin        21

Hopefully, what I have said is clear enough. 希望我所说的很清楚。 And thanks in advance for any help! 在此先感谢您的帮助!

I'm afraid it's not possible to send multiple emails just via Email Task or session's On Success Email. 恐怕无法仅通过“电子邮件任务”或会话的“成功电子邮件”发送多封电子邮件。 Those send just one message. 那些只发送一条消息。

What you could try is to use the output and a shell script that will generate and send the emails for you, using the list as input. 您可以尝试使用输出和shell脚本,该脚本将使用列表作为输入来为您生成和发送电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在一个会话中发送多个电子邮件? - How to send multiple emails in one session? 通过joomla发送的电子邮件进入垃圾邮件文件夹 - Emails sent through joomla go to SPAM folder 通过Rails发送的HTML电子邮件作为附件到达 - HTML emails sent through rails arrive as attachment 跟踪通过Sql服务器发送的退回电子邮件或未送达电子邮件 - Tracking the Bounced Emails or undelivered emails sent through Sql server 跟踪通过MS Access发送的Outlook电子邮件的打开率? - Track open rate of outlook emails being sent through MS Access? 通过vba发送电子邮件,但未发送具有功能的模块 - Sending emails through vba but the modules with functions were not sent 通过smtp.gmail.com发送的电子邮件被Gmail标记为垃圾邮件 - Emails sent through smtp.gmail.com marked as spam by Gmail 通过 python 发送时,电子邮件中的图像未显示在 iOS 上 - Images in emails are not displaying on iOS when sent through python 将所有发送到AWS子域的电子邮件转发到一个帐户 - Forward all emails sent to AWS subdomain to one single account 通过C#SMTP发送的电子邮件无法通过电子邮件客户端发送 - Emails sent via C# SMTP are not seen through email client as sent
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM