Exit Course headaches

We have a user dashboard from which users launch courses. When the course is finished I want to close the course and return to the dashboard. 

Attempt #1: Exit Course trigger. I added an Exit Course trigger to the Exit button and nothing happens. Not sure why but it definitely does nothing.

Attempt #2: Open URL/file trigger. I'm passing the URL to return to into a Storyline variable using JavaScript when the course begins. But it doesn't look like it recognizes a variable reference in the url portion of the trigger, since the variable reference (i.e., %returnToURL%) shows up in the address bar with an error when the trigger is executed. 

I'm kinda stuck and frustrated that something as basic as returning to the page you came from seems to be so difficult - or am I missing something obvious.

Any help is appreciated.

3 Replies