Author |
Message
|
kathykea |
Posted: Thu Sep 19, 2002 11:32 am Post subject: WorkFlow UPES XML |
|
|
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 |
|
 |
jmac |
Posted: Thu Sep 19, 2002 12:22 pm Post subject: |
|
|
 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 |
|
 |
kathykea |
Posted: Fri Sep 20, 2002 8:42 am Post subject: |
|
|
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 |
|
 |
Ratan |
Posted: Fri Sep 20, 2002 9:00 am Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Fri Sep 20, 2002 9:28 am Post subject: |
|
|
 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 |
|
 |
|