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

Bug 1138530

Summary: Document does not cover the situation that sending Error event to the boundary catch error event using API
Product: [Retired] JBoss BPMS Platform 6 Reporter: Hisao Furuichi <hfuruich>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Livora <tlivora>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: 6.0.3CC: bpms-support, brms-docs
Target Milestone: CR2Keywords: Reopened
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-18 05:16:56 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
sample process for the additional info none

Description Hisao Furuichi 2014-09-05 05:53:13 UTC
Created attachment 934685 [details]
sample process for the additional info

Description of problem:
Although the document explains how to send an Error event using API[1][2], it does not cover the case sending Error event to the boundary catch error event. In this case, ERROR Type will be "Error-"+$AttachedNodeID+"-"+$ERROR_CODE.[3] 

[1] Official Document: Please check section "⁠5.1.5.1.2. Exception handling classes"
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.0/html-single/User_Guide/index.html#Exception_handling_classes

[2] Community Document: Please check "Important" column in section "22.3.2.1.2."
http://docs.jboss.org/jbpm/v6.0/userguide/jBPMExceptionManagement.html#d0e14203

[3]
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/main/java/org/jbpm/bpmn2/xml/BoundaryEventHandler.java#L182


Actual results:
Document does not cover all of situation for sending Error event

Expected results:
Document explains how to send Error event to the boundary catch error event. 

Additional info:
Sample bpms file is attached on this case. To send an error event to the boundary catch error event, "Error-SubProcess_1-888" is the Errortype. So source code will be something like kcontext.getKnowledgeRuntime().signalEvent("Error-SubProcess_1-888", null ,kcontext.getProcessInstance().getId());

Comment 1 Vikram Goyal 2014-10-28 00:33:52 UTC
Hi Hisao,

I have added a note about the Boundary Catch Event in the Exception Handling Classes section (in the notes).

This can be verified here [1].

Moving this to ON_QA. Once it has been verified, I will mark it for an async release.

[1] https://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.0/html-single/User_Guide/index.html#Exception_handling_classes