I could not get this to work as
set klst [msgmetaget $xlateId MID]
set MID [keylget klst NUM]
received the following error
[xlt :xlat:ERR /0:initiate_xlate:08/04/2010 15:14:08] [0.0.1083320] Xlate ‘InitiateA30ToCe.xlt’ failed: Tcl callout error
erroCode: NONE
errorInfo:
bad msgId “xpm0”
while executing
“msgmetaget $xlateId MID”
I changed the xlate to use:
set klst [xpmmetaget $xlateId MID]
set MID [keylget klst NUM]
no errors and a display shows:
+++DEBUG the metadata MID value is 1083391
+++DEBUG the metadata MID value is 1083393
+++DEBUG the metadata MID value is 1083395
+++DEBUG the metadata MID value is 1083397
+++DEBUG the metadata MID value is 1083399
+++DEBUG the metadata MID value is 1083401
+++DEBUG the metadata MID value is 1083403
I do not need a sequential value, I just need a unique ID when sending the merge message to GE Centricity Enterprise. So, it’s like the previous post, what works best for the situation and done in the GUI.