1 Reply Latest reply on Jan 31, 2006 9:04 AM by Mennen

    question about assignment expression

    Mennen Newbie

      in the 9.2.2 assignment expression section of the documentation http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html

      first-term ::= previous |
      swimlane(swimlane-name) |
      variable(variable-name) |
      user(user-name) |
      group(group-name)


      what does variable refer to? I mean, the variable could be anything (and not a role or a user or a group) as in the Websale example: item, quantity,address..

      And what does the following expression mean?
      < assignment expression='previous --> group(hierarchy) --> member(boss)' />

      What does assignment 'previous' mean?
      and what does the whole expression mean?

      Thanks in advance

      Mennen[/url]

        • 1. Re: question about assignment expression
          Mennen Newbie

           

          "mennen" wrote:
          in the 9.2.2 assignment expression section of the documentation http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html

          first-term ::= previous |
          swimlane(swimlane-name) |
          variable(variable-name) |
          user(user-name) |
          group(group-name)


          what does variable refer to? I mean, the variable could be anything (and not a role or a user or a group) as in the Websale example: item, quantity,address..

          And what does the following expression mean?
          < assignment expression='previous --> group(hierarchy) --> member(boss)' />

          What does assignment 'previous' mean?
          and what does the whole expression mean?

          Thanks in advance

          Mennen[/url]


          never mind my question about previous.. i thought the section about assignment expressions ended before i saw the 9.9.2.1. First terms section. :)

          But about the variable(variable-name), can anyone give me an example of how it can be used? I'm having a hard time picturing how it can be used.. Excuse my primitive questions, i'm a newbie to jbpm :-)

          Thanks

          Mennen