2 Replies Latest reply on Jul 13, 2008 7:51 PM by Alex Kavo

    Business Process Context and JBPM Process Variables

    Alex Kavo Novice

      Hello!


      Is there any difference between the Business Process Variables I define in my process definition like:


      <task name="This is my Task" swimlane="xyz">
                     <description>
                          Description of Task
                     </description>
                     <controller>
                          <variable access="read,write" name="variable1"></variable>
                          <variable access="read,write" name="variable2"></variable>
                     </controller>
      </task>



      and variables I define in my POJO classes with the help of Business Process Context Annotations like:

      @Out(scope=ScopeType.BUSINESS_PROCESS, required=false)
      String variable1;
      @Out(scope=ScopeType.BUSINESS_PROCESS, required=false)
      String variable2;


      Or maybe there is no difference?


      Thanks.
      Axel