Tom,
I came across this post. Did you receive an answer?
It seems that your StartProcess call directs the output to the main page instead of the specific tab that you are on. From page 462 of the User Manual:
Many of these functions use “renderOption” parameter. This parameter indicates where the output of the function will be directed. Possible values are:
Output will be displayed in the main page replacing the current contents
(...)
Use this function to send the output of the operation to the specified panel of the specified tab in the specified frame, for example:
AwareApp.getPanelId (‘main’, ‘MyTab’, ‘MyPanel’)
Therefore, I'd think that if you know the name of the Tab and the name of the content panel, in your startProcess call you should replace 'main' by AwareApp.getPanelId (‘main’, ‘MyTab’, ‘MyPanel’)
where you specify the tab name and the content panel name for the 2nd and 3rd parameter.
I found that if you don't know the name of the tab, you can get the active tab with the function AwareApp.getCurrentTabPanelId().
However, if the tab has content panels, I have not yet discovered how I can dynamically obtain the names or IDs of those content panels. It seems that there is no built-in function to get those, at least I could not find it in the awareApp.js file.
Niels