Bug 769966

Summary: Conditional expression in XOR gateway in BPMN2 Process Editor does not appear in Web Designer
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jeff DeLong <jdelong>
Component: jBPM 5Assignee: Jeff DeLong <jdelong>
Status: CLOSED NOTABUG QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, brms-jira, tsurdilo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-17 16:46:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
policquotecalculation.bpmn none

Description Jeff DeLong 2011-12-22 20:43:02 UTC
Description of problem:

Conditional expression in XOR gateway in BPMN2 Process Editor does not appear in Web Designer

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


How reproducible:


Steps to Reproduce:
1. Open attached process in JBDS BPMN2 Process Editor. Examine it to see that the Gateway XOR condition of Rejection and not Reject() exist.
2. Use Guvnor Integration to Add process to Guvnor
3. Open process in Web Designer. Examine XOR Gateway
  
Actual results:

Cannot see condition Rejection() or not Rejection()

Expected results:

See condition Rejection() or not Rejection()

Additional info:

Not clear how the conditions should be displayed in the Gateway properties?

Comment 1 Tihomir Surdilovic 2012-01-02 21:03:53 UTC
Jeff, can you please provide the bpmn2 process of step 1 above?

Comment 2 Tihomir Surdilovic 2012-01-02 21:04:13 UTC
assigning to jeff to provide more info.

Comment 3 Jeff DeLong 2012-01-02 22:57:45 UTC
Created attachment 550330 [details]
policquotecalculation.bpmn

Comment 4 Tihomir Surdilovic 2012-01-04 06:59:47 UTC
In the Eclipse editor the conditionExpression attributes are set on the gateway, even tho they are actually attributes of a sequenceFlow node. In the web designer, condition expressions are attributes of sequence flows as they should be. If you instead of the gateway, click on its outgoing sequence flows, you will see that in each the condition expression and the condition expression language are correctly carried over from the bpmn2 generated in eclipse.

Comment 5 Jeff DeLong 2012-01-04 19:16:11 UTC
Thanks Tiho, they are indeed there. I have not been able to validate that they work, as my rules don't seem to be firing, but will continue to look into that and raise a separate Bugzilla report if I find a problem related to rules execution. You can close this report although it would be good to make sure this is covered in the documentation.

Comment 6 Jeff DeLong 2012-01-17 16:45:33 UTC
I have verified that the conditionExpression attributes on the sequenceFlow do indeed cause the process to branch correctly.