I have built a number of activites which pop up GUIs, they work pretty good.
Recently, I built an activity which called OpenFileDialog directly. It also worked.
Then I moved these codes into an independent project and referred this project into the activity.
When I ran this workflow again, the dialog did not appear. The workflow was just waiting there. (the workflow has been set as Interactvie mode)
However, when I ran this workflow under debug mode by clicking DEBUG button instead of RUN button, this time, the dialog showed up. Then again, I ran it again by clicking RUN button, the dialog cannot pop up.
Is there anyone who knows the possible reason?
Another question is we know Non-Interactive workflows run under System account. Do we have a simple way to check if the workflow is running under interactvie mode when we try to run a GUI actvity?