0 Replies Latest reply on Aug 11, 2005 2:15 PM by eruiz

    swimlane assignment expression

    eruiz

      Hi,

      The user guide says:

      9.9.2.1. First terms
      ...
      swimlane(swimlane-name) means the user or group is taken from the specified swimlane instance


      But in the ExpressionAssignmentHandler.java the swinlane(groupname) case isn't supported:

      protected Entity resolveFirstTerm(String term) {
      ...
       } else if ( (term.startsWith("swimlane("))
       && (term.endsWith(")")) ) {
       String swimlaneName = term.substring(9,term.length()-1).trim();
       String userName = getSwimlaneActorId(swimlaneName);
       entity = getUserByName(userName);
      
       } else if ( ...
      


      Is this a bug?

      IMHO the two definitions below don't have the same behaviour:

      A.
      <task-node>
      <task name="estimate-evaluate">
      <assignment expression="swimlane(test)" />
      </task>
      ...
      </task-node>
      
      B.
      <task-node>
      <task name="estimate-evaluate" swimlane="test"></task>
      ...
      </task-node>
      


      Must they have the same behaviour?