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

Problem with fork/join using swimlane

XMLWordPrintable

    • Workaround Exists
    • Hide

      Make the join async by adding: continue="async" to the join element

      Show
      Make the join async by adding: continue="async" to the join element

      INFO: exception while executing command org.jbpm.pvm.internal.cmd.CompositeCmd@1175881
      org.hibernate.exception.ConstraintViolationException: could not delete: org.jbpm.pvm.internal.task.SwimlaneImpl#280142

      <?xml version="1.0" encoding="UTF-8"?>

      <process name="test" xmlns="http://jbpm.org/4.0/jpdl">

      <swimlane candidate-groups="A" name="A"/>

      <swimlane candidate-groups="B" name="B"/>

      <start name="start">
      <transition to="task1A"/>
      </start>

      <task name="task1A" swimlane="A">
      <transition to="task1B"/>
      </task>

      <task name="task1B" swimlane="B">
      <transition to="fork"/>
      </task>

      <fork name="fork">
      <transition to="task2A"/>
      <transition to="task2B"/>
      </fork>

      <task name="task2A" swimlane="A">
      <transition to="join"/>
      </task>

      <task name="task2B" swimlane="B">
      <transition to="join"/>
      </task>

      <join name="join">
      <transition to="end"/>
      </join>

      <end name="end"/>

      </process>

        1. testError.jpdl.xml
          0.8 kB
        2. log.txt
          45 kB
        3. JoinSwimlane2749.java
          3 kB
        4. JoinSwimlane.java
          4 kB

              tom.baeyens Tom Baeyens (Inactive)
              atim_jira Andrey Timofeev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h