Can you perhaps explain more explicitly what you want to do? “go back to the inbox view” doesn’t have a specific meaning for me.
I’ve tracked down the action you were referencing, and looking at the amendment code I can see what’s going on, but I just don’t understand what it is you want to do.
Here’s what I know.
The script will run and take the content of the current draft and append it to another draft. The other draft is determined through a selection/creation process and through tracking available drafts to use via a unique tag.
After the append is completed, that list draft becomes the most recently modified item in the inbox. now I expect that most people have their workspaces and sort settings such that the most recently modified item appears at the top of their inbox.
If you are the same, then when the additional code runs, it will simply tray and load the first item in the inbox … which may well be the list draft that has just been updated.
What you maybe want to do?
Things that I’m wondering if you want to do are things like.
- Go back to the draft that contained the content added to the list.
- Go to the next most recently modified draft in the inbox that is not tagged with the unique list tag.
- Display the left panel that lists the drafts and set it to show the inbox of the current workspace.
It is certainly possible that I’m way off the mark with those last bits, but does all that make sense and get anywhere close?