Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7877565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:24:33+00:00 2026-06-03T03:24:33+00:00

I´m new on JBPM (version 3) and i´m trying to implement (unsuccessfully) a Decision.

  • 0

I´m new on JBPM (version 3) and i´m trying to implement (unsuccessfully) a Decision.

I realized that i must do something like this:

Cenario 1:

<decision name="XPTO Decision" expression="#{contextInstance.variables['XPTO Decision']}">
 <transition name="To ActionA" to="ActionA"/>
 <transition name="To ActionB" to="ActionB"/>
 <transition to="ActionA"/>
 </decision>

Or:

Cenario 2:

 <decision name="XPTO Decision" >
 <transition name="To ActionA" to="ActionA"/>
 <transition name="To ActionA" to="ActionA"/>
 <transition to="ActionA">
 <condition expression="#contextInstance.variables['XPTO Decision'] ge 5"/>
 </transition>
 </decision>

Or:

Cenario 3:

 <decision name="XPTO Decision" >
 <handler class="bla.bli.MyDecisionHandler"/>
 <transition name="To ActionA" to="ActionA"/>
 <transition name="To ActionB" to="ActionB"/>
 <transition to="ActionA"/>
 </decision>

I have done something like this, but my decision already goes to the same action (ActionB).

I don´t have sure about how this decision work. Looking for cenario 2 i believe that is something like

“if variable XPTO Decision ge (greates or equals(?)) 5 then Action A
else Action B”.” Is that right?

And… How the cenario 3 works??? How can the handler decide which Action is correct?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:24:34+00:00Added an answer on June 3, 2026 at 3:24 am

    I used the following code:

    <decision name="XPTODecision">
        <description>
            XPTO decision.
        </description>
        <transition to="XX" name="xx">
            <condition> #{ body.Success} </condition>
        </transition>
        <transition to="YY" name="yy">
            <condition> <![CDATA[#{body.NumberXX <= body.Maximum && theBody.Success}]]></condition>
        </transition>
    </decision>
    
    <node name="XX">
    ...
    </node>
    
    <node name="YY">
    ...
    </node>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

New to all this so forgive my ignorance. I am trying to figure out
New to ASP.NET MVC 3. This seems like it should be a really simple
New to Scala, but experienced in C++ I'm trying to implement (possibly misguidedly) a
New to mvc, I have a controller like this public ActionResult Index(DateTime Date, DateTime
New to javascript, but I'm sure this is easy. Unfortunately, most of the google
New to Subsonic 3.0 and wondering how to perform LIKE operators on object attributes.
new to JBoss and am configuring some applications. I know how to do this
New to appfuse - I like the concept. I configured the username/password to the
Has anyone got the new jBPM 4.3 web designer installed and working? I am
NEW EDIT: I have narrowed my problem to this - i have a view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.