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 » Exit condition- a buildtime question

Post new topic  Reply to topic
 Exit condition- a buildtime question « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Wed Jun 25, 2003 6:42 am    Post subject: Exit condition- a buildtime question Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Suppose I want to exit if say "test1"="Success" and "test2=A" or "test2=B". Logically I can say this as
Quote:
test1="success" AND ((test2=A)OR (test2=B)).


Does build time supports this sort of complicated logic.
If so, how to code?
If not how to achieve equivalent result like this?

Thanks
Back to top
View user's profile Send private message Send e-mail
Andy
PostPosted: Wed Jun 25, 2003 7:35 am    Post subject: Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

Yes its possible...you can evaluate more complex expressions. Check BuildTime guide, all possible expression syntaxes documented nicely there.
_________________
Andy
Back to top
View user's profile Send private message
ucbus1
PostPosted: Wed Jun 25, 2003 7:54 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Thanks Andy,
I have checked "getting started with build time" on page 76, chapeter 6 on "defining workflow information in an fdl file", i find a sentence saying
Quote:
Use paranthesis, that is, (AND), fo renclosing parts of expressions to specify the order of operations"


Except this I could not find much help. If you are talikng about some other manual/book please let me know

Could you please, if possible show me how to code the codition I have mentioned?
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed Jun 25, 2003 8:33 am    Post subject: Reply with quote

Jedi Knight

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

Assuming all the three are strings

test1="success" AND (test2="A" OR test2="B")

It is a simple as it is.

It can also be like how you said

test1="success" AND ((test2="A")OR (test2="B"))

Are you getting any errors this way?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ucbus1
PostPosted: Wed Jun 25, 2003 8:46 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Thanks venny.. That is what you expect from any Language. No... I am yet in the building stage.. just encountered a situation and wondered whether if any of you guys encountered it.
All, Thanks for the input
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Wed Jun 25, 2003 8:52 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

ucbus, Just go through buildtimew online help. It shows you all the expressions you can use.

There is nothing special about expressions in workflow, they are the same as any other Programming language (If anything is different, I havent noticed it yet).
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Andy
PostPosted: Wed Jun 25, 2003 8:17 pm    Post subject: Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

ucbus wrote:

Except this I could not find much help. If you are talikng about some other manual/book please let me know


I have "Getting Started with BuildTime 3.3".
Under Chapter 6(Defining Workflow Information in an FDL File), possible expression syntaxes are given under title "Syntax Conditions" starting from page 70(As printed on document).
_________________
Andy
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Exit condition- a buildtime 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.