0 Replies Latest reply on Nov 2, 2005 6:14 AM by gwittwer

    Startstate swimlane - initiator

    gwittwer

      Hello

      Got a problem with the following code:

      //pd is ProcessDefinition object
      if(pd.getStartState() != null && pd.getStartState().initiatorSwimlane != null
      && pd.getStartState().initiatorSwimlane.getName() == group.getName())
      


      When I log the expressions I got this results:
      pd is not null
      pd.getStartState is not null
      pd.getStartState.initiatorSwimlane IS null

      Should be Swimlane object "Projektteam":

      <swimlane name="Projektteam">
       <assignment expression="group(Projektteam)" />
      </swimlane>
      <start-state name="Kick Off Meeting durchführen">
       <task swimlane="Projektteam"/>
       <transition to="Pflichtenheft erstellen" />
      </start-state>
      


      How can I get the swimlane of the startstate from the jBPM Core?

      Thx
      Gerhard