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

Bug 1149515

Summary: Bpmn2 Diagram Editor which comes with JBDS Integration Stack does not provide facility of writing On Entry / On Exit scripts for custom service tasks
Product: [Retired] JBoss BPMS Platform 6 Reporter: Musharraf Hussain <mhussain>
Component: Eclipse ToolingAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.3CC: jomarko
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:12:27 UTC Type: Feature Request
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
NoIOScript.png
none
Image1.png
none
Image2.png none

Description Musharraf Hussain 2014-10-05 17:41:30 UTC
Description of problem:
- As shown in the attached image "NoIOScript.png" , the current "Bpmn2 Diagram Editor" which comes with JBDS "Integration Stack" does not provide facility to users for writing "On Entry" or "On Exit" scripts to the custom Service Tasks.
- Like, if a process has been designed in "jBPM Web Designer" which has custom Service Tasks  (like, WS ) , and then imported to JBDS , then the current tooling does not offer users to write "On Entry" or "On Exit" scripts.
- On the other hand, there is another BPMN2 process editor available with the Integration Stack plug-ins. It is called "BPMN2 Process Editor" (shown in the image "Image1.png") , and as you can see from the attached "Image2.png" it gives the facility to write On Entry / On Exit action scripts to the custom tasks.

It would be good if the "Bpmn2 Diagram Editor" also provides the same facility.

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

How reproducible:
- Always

Steps to Reproduce:
1. If process has been designed in "jBPM Web Designer" which has custom Service Tasks  (like, WS ) , and then imported to JBDS , then the current tooling does not offer users to write "On Entry" or "On Exit" scripts.
2.
3.

Actual results:
- The "Bpmn2 Diagram Editor" does not offer the facility to include scripts a On Entry/On Exit script.

Expected results:
- The "Bpmn2 Diagram Editor" should offer the facility to include scripts a On Entry/On Exit script.

Additional info:
- Feature Request.

Comment 1 Musharraf Hussain 2014-10-05 17:42:25 UTC
Created attachment 944062 [details]
NoIOScript.png

Comment 2 Musharraf Hussain 2014-10-05 17:43:04 UTC
Created attachment 944063 [details]
Image1.png

Comment 3 Musharraf Hussain 2014-10-05 17:43:39 UTC
Created attachment 944064 [details]
Image2.png

Comment 4 Marek Baluch 2014-10-07 08:41:36 UTC
Verified on JBDSIS 8.0.0.Alpha2.

Tasks now have onEnty/onExit script fields on the activity related tab. E.g. for ServiceTask you can find these fields on the 'Service Task' tab. For UserTask on the 'User Task' tab etc.

Comment 5 Marek Baluch 2014-10-07 08:46:43 UTC
(In reply to Marek Baluch from comment #4)
> Verified on JBDSIS 8.0.0.Alpha2.
> 
> Tasks now have onEnty/onExit script fields on the activity related tab. E.g.
> for ServiceTask you can find these fields on the 'Service Task' tab. For
> UserTask on the 'User Task' tab etc.

My bad - this does not work for custom tasks. Setting back to NEW.

Comment 6 Robert (Bob) Brodt 2014-10-10 16:08:57 UTC
Fixed in 1.1.1 (luna) and 1.0.3 (kepler)

Comment 7 Marek Baluch 2014-10-30 08:46:33 UTC
Bob, after you made the fix you don't need to assign to me :). The QA contact field determines who from the QA department is responsible for verifying the issue.

Comment 8 Jozef Marko 2014-11-07 09:51:33 UTC
Verified on jbdsis-8.0.0.Beta1.