|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Data Structure & Input Data Source question |
« View previous topic :: View next topic » |
Author |
Message
|
louisa.p |
Posted: Wed Oct 31, 2001 1:18 pm Post subject: |
|
|
Novice
Joined: 03 Sep 2001 Posts: 14
|
Hi,
I have a question on the relationship between the data structure with the input data source. For example, I have a data structure:
OrderedItemDS
ProdID String
Qty Long
Total Long
OrderFulfillmentDS
CustID String
OrderedItem DataStucture (which is the OrderedItemDS)
Thus, when I have created a program with the OrderFulfillmentDS, and linked with a program activity in the process diagram. When I have input data container, it will be trying to take in all the information required for the OrderFulfillmentDS. However, what I don't understand is that what if I don't create the program and the program activity with OrderFulfillmentDS, but only with OrderedItemDS? It seems like in the input data container there is something called "_STRUCT" which is already defined the structure of the OrderFulfillmentDS. How can I change the "_STRUCT" in the input data container?
Can I different input data for each different program activity? If so, how will that be prompt in the workflow runtime client?
Thanks in advance
|
|
Back to top |
|
 |
jmac |
Posted: Fri Nov 02, 2001 5:17 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Louisa:
Your data structure will look like the following:
CustID
OrderedItem.ProdID
OrderedItem.Qty
OrderedItem.Total
This is the "User data" that you will see at runtime, it is always assigned the name _STRUCT in the Buildtime mapping dialogs.
You can use a different data structure for every input and output container in your model if you choose.
I am not sure what you mean by "How can I change _Struct".
First you CAN'T modify the input container, only the output container.
To access the members in the input container simply use the appropriate api call i.e. getString("fully.qualified.member.name")
If you give me more information, perhaps I can be more helpful.
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|