| Summary: | Operation advanced property Error Refs does not allow selection of Message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [SOA] BPMN2Modeler | Reporter: | Gary Brown <gary> | ||||
| Component: | Tools | Assignee: | Robert Brodt <bbrodt> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | 0.0.1-M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Gary Brown
Created attachment 208940 [details]
BPMN2 example that demonstrates the Error Ref exception
Throws the exception when the bpmn2:errorRef element is present, and a blank dialog window for the Error Refs field on the Operation component, when not present, even though many Message components exist.
The "buy" Operation's errorRef was set to Message_6, but according to the BPMN2 spec, this should be a reference to an "Error" object, not a "Message". I think the reason why you were confused is because The "Data Items" property tab (displayed when the canvas is clicked) was missing an "Error List" which allows you to create & manage Error definitions. This is fixed now, allowing you to select an Error definition for the operation's Error Ref. Thanks Bob - although this highlights a problem with the bpmn2 model, as the Error objects cannot be used as messages in message flows and therefore choreographies/collaborations, so means having a Message and Error object pointing to the same ItemDefinition, one for use in the Interface/Operation, and one for use in the MessageFlow. Might have been better to derive the Error from Message - if the working group ever starts up again I might see if this is a potential change. The addition of the Error List on the Data Items tab is not available in the latest update site, but possibly that was built before doing this change? |