0 votes
460 views
in Coach Views by

1 Answer

+1 vote
by (2.1k points)

1) Triggering a boundary event when window is closed.

- In order to achieve this first you need to create a coach view which fires a boundary event.

Within this coach view add below in line java script code

var _this = this

window.onbeforeunload = function(){
   this.context.trigger()
}
above piece of code will fire a boundary event on window close.
2) Fire a boundary event , when user navigates from the page.
- If user is navigating from the page using out of the box bpm control (i.e button), boundary event will get fired by default.
- If user is navigating from the page using custom control (i.e link), this.context.trigger() will required to be fired (i.e on click of link)

Related questions

0 votes
2 answers 721 views
0 votes
1 answer 946 views
0 votes
0 answers 78 views
0 votes
1 answer 123 views
+1 vote
0 answers 283 views
0 votes
1 answer 608 views
0 votes
2 answers 462 views
0 votes
1 answer 112 views
0 votes
0 answers 114 views
+1 vote
0 answers 329 views
0 votes
0 answers 48 views

593 questions

485 answers

90 comments

1.8k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...