Bug 768200

Summary: In the web designer, the User Task node uses free-form fields for variables and assignments
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Babak Mozaffari <bmozaffa>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 768198 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Babak Mozaffari 2011-12-16 01:29:48 UTC
Description of problem:

After creating a User Task node in the web designer, the user has to use free-form text fields to enter input and output variables and assignment of the variables to the encompassing process.

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

How reproducible:
Consistent


Steps to Reproduce:
1. Open a process in the web designer that makes use of a User Task
2. Click on the User Task node
3. Look at the variable and assignment properties in the right side panel
  
Actual results:
The input and output variables are comma-separated with colons used to separate variable type. The assignment field uses < and > to distinguish input and output variables.

Expected results:
A dialog would be created for entering User Task variables where the variable name would be input
in one field while another field would allow the user to pick from common types
(first the default ones such as String and Integer, then possibly imported fact
types) or enter a class name. An example of this can be found on the Edit tab
of a package in Guvnor when you try to add a Global, except that including
common types such as String and Integer is critical in this case. The assignment field should restrict users to the process and task variables


Additional info:

Comment 1 Babak Mozaffari 2011-12-16 01:30:29 UTC
This same issue applies to subprocess nodes and possibly elsewhere.

Comment 2 Tihomir Surdilovic 2012-02-08 23:05:36 UTC
This is fixed an in master and 2.1.x branch. wars also available on people.redhat.com/tsurdilo/designer/master

Comment 3 Ryan Zhang 2012-02-15 09:12:04 UTC
Please verify the issue on 5.3 ER4.