0 votes
2.1k 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 1.6k views
0 votes
1 answer 1.1k views
0 votes
0 answers 256 views
0 votes
1 answer 634 views
0 votes
1 answer 382 views
0 votes
0 answers 424 views
0 votes
0 answers 1.4k views

635 questions

495 answers

98 comments

2.9k users

Join BPM Community Discord Channel

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