Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Bonita Open Solution 5.x Essentials

You're reading from  Bonita Open Solution 5.x Essentials

Product type Book
Published in Nov 2013
Publisher Packt
ISBN-13 9781782167082
Pages 144 pages
Edition 1st Edition
Languages
Author (1):
Rohit Bhat Rohit Bhat
Profile icon Rohit Bhat

Table of Contents (15) Chapters

Defining conditions on transitions


In the last chapter, we have defined various transitions for the steps. We can also define conditions on these transitions such that one particular transition holds true in some situation. Thus, there can be many transitions from one step to the others, but depending on which transition is true we can proceed to the next step.

For defining the condition on the transitions, we can use the Edit expression... option to define a groovy script which returns a true or false Boolean value depending on the conditions. If the value returned is true, the transition becomes active. We have already seen how to return a Boolean value from a groovy expression.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}