Bug 851298 - JBPM-3626 Do not depend on hard coded variable name "processInstance"
Summary: JBPM-3626 Do not depend on hard coded variable name "processInstance"
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-23 17:44 UTC by Maciej Swiderski
Modified: 2020-04-27 01:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, for intermediate conditional events to be able to a specific process instance's variables rules, the name of the variable had to be 'processInstance'. This prevented users from using any name for variables in conditional event rules. This issue has been resolved by checking the object type instead of relying on the hardcoded variable name. It is now possible to use any name for variables in conditional event rules.
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-3626 Minor Resolved Do not depend on hard coded variable name "processInstance" 2015-05-26 14:52:29 UTC

Description Maciej Swiderski 2012-08-23 17:44:00 UTC
Description of problem:
backport of https://issues.jboss.org/browse/JBPM-3626

  
Actual results:
to be able to use conditional event to reason over only variables of a selected process instance name of the variable must be exactly 'processInstance'

Expected results:
any variable name should work as long as it is of WorkflowProcessInstance type

Additional info:

Comment 1 Maciej Swiderski 2012-08-23 18:29:42 UTC
backported into 5.2.x branch

Comment 2 Jiri Svitak 2012-09-19 14:52:20 UTC
Verified in BRMS 5.3.1 ER1.

Comment 3 lcarlon 2012-10-22 05:40:46 UTC
doc text has been edited for inclusion in the release notes. Thanks for providing the text, Maciej.

- Lee


Note You need to log in before you can comment on or make changes to this bug.