I'm looking for a possibility to pop up a modal message dialog when working in a workflow like the dialog that is openend on doing this (also like a Java JDialog.show()):
throw new wt.util.WTException(“message”)
but when calling the searched method, the program flow shall continue with the next line, like:
showInfo = true;
// go on with code
What do you mean ? I think we can use "throw new wt.util.WTException(“message”) " to let workflow task page show a pop up window when completing task. So it doesn't work in your system ?
Thanks for your answer!
The exception works, but then the program flow will be "back to task".
What I wanted is a possibility to show a message that is not handled as an exception and does not end the program flow.
For example have a message within the "Complete" transition of the task:
// some code...
if (needMessage1) showMessage("message1");
// more code...
if (needMessage2) showMessage("message2");
// still in Complete transition...
task = "completed";
As fas as I learned this might not be possible as the message caused by the exception is a "server exception".