| mike_zandvliet 2005-02-17, 2:46 am |
| Hi there!
I am using a send port to write my message to a File location. The
filename pattern is:
%datetime_bts2000%_%messageid%.xml,
which works fine.
I am also outputting the messageID to the Application Event Log,
immediately after my send shape using this code:
& #91;code:1:125c97a29a]_eventLogFunctions
.writeApplicationLog("Message
ID: " + MessageX(BTS.MessageID),
System.Diagnostics.EventLogEntryType.Error);[/code:1:125c97a29a]
This works the way I would expect.
However - the Message ID in the event
log is not the same as the ID part of my filename. Weird!
:roll:
What's weirder, is when I view my orchestration in the HAT message
flow screen, the Message ID's there don't match either the filenames
OR the event log. :roll: :roll:
I have gone back and verified I am definitely using the right message
in each place. I have also gone through the entire message flow
screen in HAT and cannot find any of the ID's in the filenames, or
any of the message ID's in the Event Log
Note that in another place in my orchestration, the ID for MessageY
gets written to the Event Log perfectly.
Does anyone know why it might behave this way??
In case it helps troubleshoot this behaviour, here are some
differences between MessageX (the one with the problem) and Message Y
(the one that works fine):
X is inside a loop, Y is not
X is inside a scope, Y is not
X is an XML message that was created inside the loop by a .NET
component
Y is a flat file that activated the receive port for the
Orchestration
I want the Message ID's in the Event Log, HAT, and the filename to all
match so the people supporting the app can easily tie it all
together.
Thanks for your help!!
Mike
|