0 votes
in Activities & Tasks by

2 Answers

0 votes
by (290 points)
tw.system.currentTask.reassignBackToRole()  will work if you implemented this in Exit button which will close the coach.
0 votes
by (2.1k points)

You can create a coach view and use window's onbeforeunload function , the function will get executed on window close event.

Within function you can trigger the boundary event.

var _this=this;

window.onbeforeunload = function(){
At server side, you can wire the boundary event with a script to  (tw.system.currentTask.reassignBackToRole()) to reassign back the task.
by (290 points)
It is not working

Related questions

0 votes
1 answer 422 views
0 votes
1 answer 356 views
0 votes
0 answers 57 views
0 votes
1 answer 119 views
0 votes
0 answers 179 views
0 votes
0 answers 50 views
0 votes
1 answer 131 views
0 votes
4 answers 481 views

591 questions

485 answers


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