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 » WebSphere Process Server (WID/WPS/WAS+) » RuleSet vs. BO arrays

Post new topic  Reply to topic
 RuleSet vs. BO arrays « View previous topic :: View next topic » 
Author Message
Liquid
PostPosted: Wed Jun 11, 2008 7:23 am    Post subject: RuleSet vs. BO arrays Reply with quote

Acolyte

Joined: 08 Sep 2004
Posts: 52
Location: Hungary, Europe

Hello!

Maybe it'a lame problem but I can't find the sollution for the next issue in the PS RuleBuilder:

-There's a BusinessObject "AddItem" which contains a "Key" and a "Value" elements.
-AddItem is an array.

I'd like to create a rule set which fires when the value of the Key element of any of the AddItem nodes equals to a certain constant.

In the rule builder I can just create AddItem.get(<number>).Key == "<constants>" like expressions.
But as AddItem is an array, I should somehow iterate through among them because there's no garantie that for example the Key element of the first AddItem node will contains the searched value...

I tried to call a java function which returns the index of the searched AddItem node to use its result as <number>.

Is it possible and what is the proper sollution?

Thanks in advance,
Liquid
Back to top
View user's profile Send private message
Liquid
PostPosted: Fri Jun 13, 2008 12:34 am    Post subject: Reply with quote

Acolyte

Joined: 08 Sep 2004
Posts: 52
Location: Hungary, Europe

hmm.. nobody had to do something silimar? Pls. help
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » RuleSet vs. BO arrays
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.