Bug 852111

Summary: "Editor for Data Assignments" is currently not pulling in global variables.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tihomir Surdilovic <tsurdilo>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: kverlaen
Target Milestone: ER2   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The form and script editor in the Process Designer did not show users global variables available via auto-complete. This has been resolved by adding support to show global variables via auto-complete.
Story Points: ---
Clone Of: Environment:
Last Closed: 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
Screenshot of Globals Editor
none
Screenshot of Variable Editor (process variable)
none
Screenshot of Globals Editor
none
Screenshot of Variable Editor (process variable)
none
Screenshot of Assigments Editor none

Description Tihomir Surdilovic 2012-08-27 16:09:57 UTC
"Editor for Data Assignments" is currently not pulling in global variables.
This is useful/required to assign global variables to Service Task's dataInputs

Comment 1 Sona Mala 2012-09-18 12:11:18 UTC
I am not sure what should be verified. Editor for Data Assignments does not show any global variables (which are defined in package)

Comment 2 Tihomir Surdilovic 2012-09-18 12:18:00 UTC
You can set global variables for the business process itself. Those are looked at only. In process properties click on the Globals editor and set some global variables, then make sure they show up in data assignment editors on a human task for example.

HTH

Comment 3 Sona Mala 2012-09-19 12:44:14 UTC
Nothing change. I can not see globals in Editor for Data assigments even if I define them in process property Globals.

See attached screenshot.

Comment 4 Sona Mala 2012-09-19 12:44:52 UTC
Created attachment 614350 [details]
Screenshot of Globals Editor

Comment 5 Sona Mala 2012-09-19 12:45:35 UTC
Created attachment 614352 [details]
Screenshot of Variable Editor (process variable)

Comment 6 Sona Mala 2012-09-19 12:52:45 UTC
Created attachment 614358 [details]
Screenshot of Globals Editor

Comment 7 Sona Mala 2012-09-19 12:53:10 UTC
Created attachment 614359 [details]
Screenshot of Variable Editor (process variable)

Comment 8 Sona Mala 2012-09-19 12:53:51 UTC
Created attachment 614360 [details]
Screenshot of Assigments Editor

Comment 9 Tihomir Surdilovic 2012-09-19 13:23:06 UTC
Please see my comment on associated JIRA- https://issues.jboss.org/browse/JBPM-3749


"Forgot to add - showing globals in data assignments editor is not correct. Globals are jBPM-specific BPMN2 extension elements and cannot be referenced by assignments like process variables. I have not globals to the assignments to the editor, however have fixes the globals editor and added some more functionality with user inputs of globals. Auto-completion on both forms, and scripts also pulls in globals now as well properly."

so globals are not going to be present in data assignments editor (the title of the BZ is confusing, sorry) but they will be available in the auto-complete in form editor and script editor.

Hope this helps.

Comment 10 Sona Mala 2012-10-16 12:01:36 UTC
Verified for BRMS 5.3.1 ER3, designer 2.3.1-dev