cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow popup based on variable

SOLVED
Moonstone

Workflow popup based on variable

I have a workflow for a document.  I want to check for a variable and if it reports back "N" to open a popup window telling the user what needs to be done.  Is this possible inside of the workflow under the "Complete" transition?  If it is, does anyone have any code for opening the popup?  Or do I have to write code outside of Windchill and reference it from the transition area?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Workflow popup based on variable

The fastest way to do this is to throw a WTException with your message:
throw new wt.util.WTException(“your message”)

Windchill will disallow the task conpletion and it will show your message with an alert dialog
Iker Mendiola
Prambanan IT Services
1 REPLY 1

Re: Workflow popup based on variable

The fastest way to do this is to throw a WTException with your message:
throw new wt.util.WTException(“your message”)

Windchill will disallow the task conpletion and it will show your message with an alert dialog
Iker Mendiola
Prambanan IT Services