|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Data structure mapping |
« View previous topic :: View next topic » |
Author |
Message
|
RJoubert |
Posted: Fri Jul 19, 2002 11:52 am Post subject: Data structure mapping |
|
|
 Apprentice
Joined: 30 May 2002 Posts: 43 Location: Buffalo, NY
|
I have a Workflow process which includes a block activity. The block activity has a data loop connector to copy the output container of the block back into the input container if the exit condition is not satisfied. Within the block activity I have an automated step which takes the input container, runs some logic, and copies data into a second data structure. This second data structure is carried throughout the steps within the block. However, when I reach the end of the block, I need to "restore" the first data structure, along with the original values so the data loop connector will work. Without merging the two data structures, is there an easy way to accomplish this?
Thanks, _________________ Rich Joubert
Computer Systems Engineer
Univera HealthCare, an Excellus Company |
|
Back to top |
|
 |
jmac |
Posted: Fri Jul 19, 2002 3:22 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
The easiest way I can think of to do this, is to simply have an automatic activity at the end of the block, that copies input to output, and map the data from the source of the block to the input container. Actually you could get away without actually running an activity, if you put a Data Default conector (which will do the input to output copy) and have the activity expire after 1 second. Realize of course, that the amount of time this will take will depend on how often your scheduling server wakes up.
With the auto activity you have to write code, but it will happen almost immediately. Actually, you could also just have an Asynchronous UPES activity. then the only thing you need to do would be to Empty the queue periodically.
GOOD LUCK _________________ John McDonald
RETIRED |
|
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
|
|
|
|