Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3221

Documentation of DeployProcessTask is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • jBPM 3.2.10
    • jBPM 3.2.10
    • Documentation
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Low

      Chapter 14.1.1 of the jBPM Reference Guide [1] is not up to date. The following changes are necessary:

      1. Wrong attribute in the <deploypar ..> element:
      <deploypar par="build/myprocess.par" />

      needs to be changed to :
      <deploypar process="build/myprocess.par" />

      2. Remove attributes 'createschema' and 'properties' from table 14.1, as they no longer exist in DeployProcessTask

      3. Add attribute 'failonerror' to table 14.1:
      "When set to true, the deployment task fails immediately with an error if the deployment of one process definition fails. Default is true"

      4. Change: "To deploy process archives programmatically, use the org.jbpm.jpdl.par.ProcessArchiveDeployer class."
      To: "To deploy process archives programmatically, use one of the parseXXX methods of the org.jbpm.graph.def.ProcessDefinition class.

      [1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/JBPM_Reference_Guide/jpdl.html

              marco.rietveld Marco Rietveld (Inactive)
              marco.rietveld Marco Rietveld (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: