Open another draft

I have a script that takes the text of the current draft and append it to my journal.
After this is done I set draft.isTrashed = true and want to open my journal.

I cannot find a way to do this. I tried using app.openURL(draft.permalink) but that does nothing at all.

Any suggestions? Thanks!

I take it that your journal is a draft, try editor.load() (docs).