0 votes
542 views
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(){
   _this.context.trigger()
};
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 360 views
0 votes
1 answer 310 views
0 votes
0 answers 39 views
0 votes
1 answer 100 views
0 votes
0 answers 144 views
0 votes
0 answers 43 views
0 votes
1 answer 110 views
0 votes
4 answers 427 views

586 questions

483 answers

87 comments

1.7k 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
...