Workflow popup based on variable
May 31, 2018
01:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 31, 2018
01:05 PM
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?
Solved! Go to Solution.
Labels:
- Labels:
-
Bus_System Administration
- Tags:
- workflow
ACCEPTED SOLUTION
Accepted Solutions
Jun 01, 2018
11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jun 01, 2018
11:30 AM
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
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
Jun 01, 2018
11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jun 01, 2018
11:30 AM
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
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 |
