2 Replies Latest reply on May 24, 2010 4:18 PM by Manuel Jordan

    Errata in jBPM User Guide

    Manuel Jordan Newbie

      Dear Members

       

      Reading and learning carefully from your jBPM User Guide documentation

      I think that I found some minimum errata

       

      1)Section 5.3. Deploying a process

      Has its sentence

       

      The assigned version will be one higher ***then*** the highest version number 
      of deployed process definitions with the same key.
      

       

      I think that the bold part should be than and not then

       

      2) Section 5.7. TaskService

          has its code

       

      long taskId = task.getId();
      Set<String> variableNames = taskService.getVariableNames(taskId);
      variables = taskService.getVariables(taskId, variableNames);
      variables = new HashMap<String, Object>();
      variables.put("category", "small");
      variables.put("lires", 923874893);
      taskService.setVariables(taskId, variables);
      

       

      See that variables is used firstly to get some data but not used anymore

      and then it is used to create a HashMap, is it an error about logic?

       

      3) Below in the same section we have

       

       

      If a task has one outgoing transition with a name then: 
      
      gtaskService.etOutcomes() returns a collection that includes only the name of the transition
      
      
      

       

       

      it should be  taskService.getOutcomes()

       

       

      4) In section 6.2.5.3. end multiple

      has its code

       

      <process name="EndMultiple" xmlns="http://;jbpm.org/4/jpdl">
      
       <start>
       <transition to="get return code" />
       <start>
       
       <state name="get return code">
      
      
      
      

      the second start tag should be </start>

       

       

      I not finish to read all the documentation yet, of course if I find more errata I will let you know

       

      My Best Regards

       

      -Manuel

        • 1. Re: Errata in jBPM User Guide
          HuiSheng Xu Master

          Hi Manuel,

           

          Thank you very much for reviewing.  I will correct them.

           

          And about the second issue,  the code want to show the reader how to use variableNames to get the related variable values.  Maybe we could split it to two separated parts.

          • 2. Re: Errata in jBPM User Guide
            Manuel Jordan Newbie

            Hello HuiSheng

             

             

            Thank you very much for reviewing.  I will correct them.

            You are welcome, just giving my two cents =)

             

            I want use jBPM fast as I can in my projects

             

             

            And about the second issue,  the code want to show the reader how to use variableNames to get the related variable values.  Maybe we could split it to two separated parts.

            I am agree, because together gives a bad impression about firstly get some variables and then re create a new object using such variable

             

            My Best Regards

             

            -Manuel