Achievegoal problem

mrki
2012-05-09
2013-06-12
  • mrki
    mrki
    2012-05-09

    Hi,

    I'm having problem triggering a plan in jadex. I have declared achievegoal:
    <achievegoal name="toBusy">
       <creationcondition> $beliefbase.proba==0 </creationcondition>
    </achievegoal>

    and a plan:
    <plan name="setToBusyMode">
       <body class="toBusyModePlan"/>
       <trigger> <goal ref="toBusy"> </trigger>
    </plan>

    variable proba is set to 0 (i have managed to print it), but plan setToBusyMode is never executed.
    I have also tried declaring it in configuration as initalgoal, but that doesn't help.

    Thanks!

     
  • mrki
    mrki
    2012-05-09

    note: I'm using jadex for android

     
  • mrki
    mrki
    2012-05-09

    nvm, I was stupid.