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 » Multiple execution of Block activity.

Post new topic  Reply to topic
 Multiple execution of Block activity. « View previous topic :: View next topic » 
Author Message
mike_mq
PostPosted: Tue Nov 04, 2003 9:12 am    Post subject: Multiple execution of Block activity. Reply with quote

Centurion

Joined: 17 Oct 2003
Posts: 123

Can anybody tell me in what circumstances, we use data loop connectors in MQWF
Buildtime?
I have a situaion, where I am using a block activity. I am sending
the value of one of the paratmeters "required count" as 3 & "current count" = 0.
The block's exit condition is "current count >= required count".
Can anybody tell me how do I increment the current count in build time, so that the
block will execute multiple times until it met the exit condition.
I would appreciate if anybody can explain me in detail.
Thanks
Mike.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Nov 04, 2003 9:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
Can anybody tell me how do I increment the current count in build time


I don't think you can do that. You will have to write your own utility to do the incrementing.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
devin
PostPosted: Tue Nov 04, 2003 9:48 am    Post subject: Reply with quote

Voyager

Joined: 27 Oct 2003
Posts: 82

Thats right. You cannot acheive it in buildtime.

The usage of data connectors :
For example in the scenario you have described you can use data loop connectors , to send the output container values back to the input containers. Say the variable 'current count' value is 1 after first iteration.
And you need to save this value for the second iteration, so send it back to the input container using data loop connector.

But the actual increment of the variable 'current count' needs to be done outside of Buildtime.

Hope this helps.

Devin
Back to top
View user's profile Send private message
mike_mq
PostPosted: Tue Nov 04, 2003 9:54 am    Post subject: Reply with quote

Centurion

Joined: 17 Oct 2003
Posts: 123

Thanks Devin & Venny.
Back to top
View user's profile Send private message
Adi
PostPosted: Thu Jan 08, 2004 9:06 am    Post subject: Loop counter in Buildtime Reply with quote

Apprentice

Joined: 23 Oct 2003
Posts: 40

vennela,
Can you pls explain how to increment the counter inside a block.
you said that we have use a utility. can u pls explain it a little bit.

Adi
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 08, 2004 11:22 am    Post subject: Reply with quote

Jedi Knight

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

In one of your activities inside the block you would access the value of the counter from the input container increment it, then set it into the output container. It doesn't have to be a "utility" as Venny is saying, its just that someplace inside the block one of the activities needs to increment this counter, and map it back to the sink.
_________________
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 » Multiple execution of Block activity.
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.