Landmark Infor Process Automation
Background:
This is a complex issue that requires a developer's inside look at the object oriented code used in Process Automation. I have an instance where several email addresses setup in LTM, either as actor records or employee contact records are bad. This causes a 550 error when sending the email message through SMTP. The error message returned does not indicate what the bad email address was. The email server does not bounce the message back to the sender telling them the address was bad. The only exposure we have is a log file which has to be searched to find the recipients of which the message was sent to.
The email node, as well as just about every other node, has 4 identifiable objects within it at runtime. They are:
The email node itself is referred to as with an underscore as a separator and then the object name contained within the node and the remaining text.
I am looking for more objects within the email node that I can pass to the error trapping routine within the email node's "On Error" tab. Specifically, I'm trying to report on the email recipients:
To CC BCC
The plan is to pass this information in the "On Error" routine when the email node generates an error such as:
Return message: Sending failed; nested exception is: class javax.mail.SendFailedException: Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 550 No such recipient
I may have to pass the information all the time instead of conditionally when the error is a 550, but that is acceptable.
The email message can contain the returnMessage as while inside the node or as immediately after the execution of the node or as any time after the node execution.
The last two options are available only because Process Automation has encapsulated those values as variables. The first option can only be used while inside the node itself while it is running. I need to know what other variables has to offer.
Is there a or or
I have tried some combinations with no success.
That would do it. Data errors like this are tough to address. Sorry I haven't been much help!
On my tagline, I just used html "br" tags. Good Luck to you!
var aryValues = EmailNodeName.activityVariables;
[aTo=Whatever@overthere.org, aCc=, aBcc=, aFrom=PFIAdmin@overthere.org]
var aryValues = nodeName.getActivityVariables();
var strText = ""; for (x in Email6590) { strText += "Proptery: " + x + "\n---\n" + Email6590[x] + "\n---\n---\n\n"; } //var a = Email6590.activityVariables; var a = Email6590.getActivityVariables();