We have a heritage coach in a human service that has two BPM stock buttons ( say Button1 and Button2 (heritage coach view)). Each button's visibility is controlled by the result evaluated by "script". These buttons are implemented to be mutually exclusive when Button1 is enabled Button2 should become disabled. We have a complex business object that has nested complex business object which are input to this "script" component. This complex variable is defined under "Input/Output" scope of the service. In addition to this variable we also have simple type "private variables" of type "String" and "Boolean" (chkBvar is a bool variable bind to a Checkbox Control) that also mapped into the "script" component of both buttons (Button1 and Button2). The expectation is that CoachView Framwork would listen to these variables and call the "script" defined on Button1 and Button2 coachview buttons when variables data changed.
We have a BPD that has two human activities in a sequence on a participant lane. The same participant works on second human service by completing the Task which is first human service UI. The second activity's coach is loaded on the same browser instance without a need to go into the portal inbox and claiming the second coach task.When we create and run the instance of this BPD , On IE11 the coachview framework is invoking "initialize" event on this two buttons just fine. Only one Button1 is enabled and that is expected logic. However when a checkbox is selected, the bool variable is toggled from false to true in "chkBvar" but this change event is invoked only on Button2 coachview. Button1 script is not executed because the change event is not triggered, now we have two buttons enabled which is incorrect. I have console.log in place on top of Button1 and Button2 scripts and not seeing Button1 script logs. If i run the same instance on Chrome things works just fine. "Initialize" and "change" event works fine on Chrome and both button's script executing.
On IE11 one interesting thing i noticed is that if i press "postpone" button in Second Coach human service that has the "change event invoking issue" and get the task back from the portal inbox change event type working properly and script is getting executed on both buttons. They work fine even when complex BO or even when nested BO (these are marked for listening ) is changed.
We have applied IBM BPM 8.5.7 09-2016 cumulative fixes but still having this issue on IE11. Any Ideas? Should i log a PMR with IBM.
Thanks VK
I would certainly make a simple reproduction of this and submit it to IBM as a PMR. At a minimum it would be difficult for anyone on the forums to take the time to duplicate this issue in their environment, so unless someone else has hit the same issue you may not get any useful feedback.
-Andrew Paier