|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Transition Conditions and Arrays |
« View previous topic :: View next topic » |
Author |
Message
|
RJoubert |
Posted: Thu May 30, 2002 9:33 am Post subject: Transition Conditions and Arrays |
|
|
 Apprentice
Joined: 30 May 2002 Posts: 43 Location: Buffalo, NY
|
I have a data structure which contains an array of string values as one of it's members. This array could potentially hold up to 99 values. Instead of using a long "OR" statement (like array[0]="XXX" or array[1]="XXX" or array[2]="XXX" ... or array[99]="XXX") on the transition condition, is there an easier way to tell MQWF to look thru the entire array for a specific value?
Any suggestions would be greatly appreciated.
Thanks. _________________ Rich Joubert
Computer Systems Engineer
Univera HealthCare, an Excellus Company |
|
Back to top |
|
 |
jmac |
Posted: Thu May 30, 2002 9:47 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
If there is, I've not seen it documented.
Sometimes, it might be possible to have an overly complex condition evaluated by the previous activity and then your test in the workflow engine becomes simple. Of course this does defeat the purpose of having the business rules in the model as opposed to the program.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vedbhat |
Posted: Thu May 30, 2002 5:39 pm Post subject: |
|
|
 Disciple
Joined: 19 Mar 2002 Posts: 186 Location: Singapore
|
Hi,
As John said, I too haven't seen this in the documentation. You can achieve this by setting another another variable in the container before exiting from the activity.
Also, to just let you know that there is a limitation to the transition condition/exit condition/start condition. I guess it it 254 characters.
Please check the FDL section under Buildtime manual
Cheers
Ved _________________ IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries |
|
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
|
|
|
|