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

We are happy to announce the new Windchill Customization board! Learn more.

Workflow popup based on variable

BrianToussaint
19-Tanzanite

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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
http://www.prambanan-it.comIker Mendiola - Prambanan IT Services

View solution in original post

1 REPLY 1

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
http://www.prambanan-it.comIker Mendiola - Prambanan IT Services
Top Tags