Posted: Tue Nov 25, 2008 12:01 pm Post subject: UserDefined Properties and Response Message
Acolyte
Joined: 15 Sep 2008 Posts: 58
Hello
I am struck with constructing Response message with UserdefinedPropertie elements.
I have 3 different Environment Variables declared as External in Compute node. and the property of Compute MOde is set as LocalEnvironment and Message.
And in the Output node Destination Mode property is set as Destination List.
I have 5 elements in response and also i wanted to add 3 Environment Variables to my response message(Total .
When i test with above settings Its throwing me an Error - Invalid Destination list
It wasn't clear from your post if you've populated the destination list in your compute node before the output node.
Copy paste your current ESQL and we'd be able to give you more accurate pointers. _________________ LIFE is a series of complex calculations, somewhere multiplied by ZERO.
DECLARE Environ EXTERNAL CHARACTER 'NOTSPECIFIED';
DECLARE Hname EXTERNAL CHARACTER 'NOTSPECIFIED';
DECLARE Tsource EXTERNAL CHARACTER 'NOTSPECIFIED';
Creating new elemenst in Response
CREATE LASTCHILD OF OutputDestinationList.XMLNSC.PBMtags NAME Environment VALUE Environ;
CREATE LASTCHILD OF OutputDestinationList.XMLNSC.PBMtags NAME Host_Name VALUE Hname;
CREATE LASTCHILD OF OutputDestinationList.XMLNSC.PBMtags NAME Trans_Source VALUE Tsource;
And in MQ Output node properties properties Destination Mode as Destion List. (I guess i understand correctly from online help document).
Or is there any way to collect those 3 environment variables in response message.
Looks like you haven't read the documentation at all. If that's true, it's my sincere suggestion to start learning how to code using ESQL.
Back to your issue:
1) If you do not have a requirement to output a message to more than one destination or if you do not have to route the flow processing to a Label node, you shouldnot be using the destinationlist in compute node and the property on the output node should be changed to 'Queue Name'.
2) If you are trying to add new elements into the output message, your code should really be
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum