Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1048218

Summary: Validation: BPMN2 valid process with compensation is marked as invalid by designer
Product: [Retired] JBoss BPMS Platform 6 Reporter: Sona Mala <smala>
Component: jBPM DesignerAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED CURRENTRELEASE QA Contact: Sona Mala <smala>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, lpetrovi, tsurdilo
Target Milestone: CR1   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:10:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen shot with validation results none

Description Sona Mala 2014-01-03 12:17:23 UTC
Created attachment 844934 [details]
screen shot with validation results

Description of problem:
See attached screen shot. Boundary event is connected to compensation activity by association flow but validation is looking for incoming and outgoing connection by sequence flow.

I think that Compenstation End Event is valid, too:

(From BPMN2 spec)
   For an End Event:
      The Activity to be compensated MAY be supplied. If an Activity is not supplied, then the compensation is broadcast to all completed Activities in the current Sub-Process (if present), or the entire Process instance (if at the global level).


Version-Release number of selected component (if applicable):
6.0.0 BRMS ER7


Steps to Reproduce:
1. model attached process (I am not able to export it)
2. Validate


Expected results:
Mark this process as valid. See BPMN2 spec, p. 264 (attribute activityRef) and p. 303 (compensation handler).

Comment 1 Tihomir Surdilovic 2014-01-08 19:07:10 UTC
fixed in designer master and 6.0.x branches

Comment 2 Sona Mala 2014-01-23 13:18:42 UTC
I verified for 6.0.0 CR1.