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 » Data Structure & Input Data Source question

Post new topic  Reply to topic
 Data Structure & Input Data Source question « View previous topic :: View next topic » 
Author Message
louisa.p
PostPosted: Wed Oct 31, 2001 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Fri Nov 02, 2001 5:17 am    Post subject: Reply with quote

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
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 » Data Structure & Input Data Source question
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.