ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » WorkFlow UPES XML

Post new topic  Reply to topic
 WorkFlow UPES XML « View previous topic :: View next topic » 
Author Message
kathykea
PostPosted: Thu Sep 19, 2002 11:32 am    Post subject: WorkFlow UPES XML Reply with quote

Newbie

Joined: 07 Mar 2002
Posts: 7

When looking at the ActivityImplInvoke message received, only the data structures that have been valued are listed. I was told that there is a way to recieve all data structures, valued or not, for an activity, but I can't find how this is done anywhere in the documentation. Does anyone know if this is really possible and if so, how?
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Sep 19, 2002 12:22 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I assume you mean that you are only seeing the "Members" in the data structure that are valued.

This is working as designed. You can get all of the members, but not without logging in and accessing the container. Probably not something you want to do in a UPES.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
kathykea
PostPosted: Fri Sep 20, 2002 8:42 am    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2002
Posts: 7

Here is a copy of the XML message that started the conversation about including tags with no values. Most of the fields that meet this condition (those in the recipients and variables groups) are part of an array. One field, <SenderName></SenderName> is not part of an array and is not consistent with our expectation that null values are not included in the XML message stream. (I would also expect the null array fields to be left off, but maybe Workflow is treating arrays differently.)


Message from the DEV.CIM.NOTY.XML.OUTPUT Q...


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- This document is generated by a MQSeries Workflow Version 3.3.2 server -->

<WfMessage>
<WfMessageHeader>
<ResponseRequired>Yes</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvoke>
<ActImplCorrelID>RUEAAAADAENAAAAAAAAAAAAAAAAAAQAAAAMAQsAAAAAAAAAAAAAAAAABQQAAAAMAQ0ABAAAAAAAAAABF</ActImplCorrelID>
<Starter>ORAP023</Starter>
<ProgramID>
<ProcTemplID>AAAAAwBCwAAAAAAAAAAAAA==</ProcTemplID>
<ProgramName>SHR_SendMessage</ProgramName>
</ProgramID>
<ImplementationData>
<ImplementationPlatform>WindowsNT</ImplementationPlatform>
<ExeOptions>
<PathAndFileName>fmcnshow.exe</PathAndFileName>
<InheritEnvironment>true</InheritEnvironment>
<StartInForeGround>true</StartInForeGround>
<WindowStyle>Visible</WindowStyle>
</ExeOptions>
</ImplementationData>
<ProgramInputData>
<_ACTIVITY>SendMessage</_ACTIVITY>
<_PROCESS>Notification_Test</_PROCESS>
<_PROCESS_MODEL>Notification_Test</_PROCESS_MODEL>
<SHR_Notification_25>
<CRMID>CRM#1</CRMID>
<MessageRequest>
<NotificationID>MarksTemplate</NotificationID>
<Priority>Low</Priority>
<SenderEmail>rspaulding@digitalprospects.com</SenderEmail>
<SenderName></SenderName>
<Subject>Testing the XML Format</Subject>
</MessageRequest>
<ReceiverRequest>
<AcctID>WXYZ56789012</AcctID>
<Firm>WXYZ</Firm>
<NAFirmID>W</NAFirmID>
<NAFirmIDSub>XYZ</NAFirmIDSub>
<RepID>rep1</RepID>
<RecipientGrp>all</RecipientGrp>
<Recipients>
<RecipientName>mat.luoma@rbcdain.com</RecipientName>
<RecipientType>m</RecipientType>
<SentStatus></SentStatus>
</Recipients>
<Recipients>
<RecipientName>ORAP023</RecipientName>
<RecipientType>u</RecipientType>
<SentStatus></SentStatus>
</Recipients>
<Recipients>
<RecipientName>9110</RecipientName>
<RecipientType>e</RecipientType>
<SentStatus></SentStatus>
</Recipients>
<Recipients>
<RecipientName></RecipientName>
<RecipientType></RecipientType>
<SentStatus></SentStatus>
</Recipients>
<Recipients>
<RecipientName></RecipientName>
<RecipientType></RecipientType>
<SentStatus></SentStatus>
</Recipients>
</ReceiverRequest>
<Variables>
<TagName>Day</TagName>
<TagValue>13</TagValue>
</Variables>
<Variables>
<TagName>Month</TagName>
<TagValue>September</TagValue>
</Variables>
<Variables>
<TagName>Year</TagName>
<TagValue>2002</TagValue>
</Variables>
<Variables>
<TagName>DayOfWeek</TagName>
<TagValue>Friday</TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
<Variables>
<TagName></TagName>
<TagValue></TagValue>
</Variables>
</SHR_Notification_25>
</ProgramInputData>
<ProgramOutputDataDefaults>
<_ACTIVITY>SendMessage</_ACTIVITY>
<_PROCESS>Notification_Test</_PROCESS>
<_PROCESS_MODEL>Notification_Test</_PROCESS_MODEL>
<SHR_Notification_25>
</SHR_Notification_25>
</ProgramOutputDataDefaults>
</ActivityImplInvoke>
</WfMessage>
Back to top
View user's profile Send private message
Ratan
PostPosted: Fri Sep 20, 2002 9:00 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I believe if you have a complex datastructure as a member and all its members are not valued then that structure would not show up. Your <SenderName> is just a string and I think it will show up with 'null' value if you dont have any value for that.

Let me know if Iam wrong.

-Laze.
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Sep 20, 2002 9:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

In order to understand what we are looking at, I need to know what data was mapped to this activity. I am not quite sure why I am seeing all of these entries that have a zero length string as their value.

Kathy: What can you tell me about what is in the input container for this activity? How did the data get there? Are these members "Not set" (i.e rc 113) or are they zero length strings (which is what I suspect).
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » WorkFlow UPES XML
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.