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

Subprocesses created in older jBPM version without AbortParent flag assume abort flag as true by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.52.0.Final
    • Designer
    • None
    • 2
    • False
    • False
    • NEW
    • NEW
    • Hide
      1. Create a workflow in jBPM such as 4 (where abort parent property option is not available in subprocess)
      2. Create a subprocess node and some further test nodes after this node
      3. Deploy the workflow on jbpm 7.52.0
      4. Aborting subprocess will terminate parent
      Show
      Create a workflow in jBPM such as 4 (where abort parent property option is not available in subprocess) Create a subprocess node and some further test nodes after this node Deploy the workflow on jbpm 7.52.0 Aborting subprocess will terminate parent

      We have jBpm workflows created in the older version of BPM. Upgrading to newer version such as 7.52.0 is assuming default value of AbortParent flag in Subprocesses as true and terminating parents of our  processes. This leads to termination of parent with subprocesses and breaking older workflows.

      I looked at the implementation. When the value of abort parent is true, the implementation in bpm2 file doesn't add anything to the object, but when it is false, a code block is added. The java code things that when in a subprocess, the value is absent, it means user has set abort parent as true.

      In workflows created with older versions, since the value is absent, system is assuming this value as true and terminating parents with subprocesses automatically.

       

              romartin@redhat.com Roger Martinez
              hamza.idrees Hamza Idrees (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: