Our Windchill CAD Worker does seem to have a habit of failing at regular intervals. Whilst it is easy to rectify the problem, it can be a major inconvenience if you do not quickly discover the failure. The delay can often result in thousands of jobs that need to be resubmitted and a knock on effect with new jobs also being delayed whilst the backlog is cleared.
So for sometime I have been trying to develop a notification tool that will "push" a notification to me by email as soon as the CAD Worker fails. After limited success with custom scripts, I stumbled across a ready-made solution in Windchill that was right under my nose. So just in case any other forum members have been struggling with the same problem, here is my solution.
I have discovered that you can in fact setup a Windchill subscription on an entire product context that will detect when the CAD Worker fails on a CAD document. The beauty of this is that you can easily manage the circulation list for notification, you can also have different notifications on a product-by-product basis and have the notification delivered according to a schedule.
I’ve outlined the method below, just in case you are interested in giving it a go yourself.
All comments welcome.
- Browse products and click View All.
- Right click on the target context and select Subscribe.
- Give the subscription a name and then click on the search button next to the Type field.
Image may be NSFW.
Clik here to view.
- Select CAD Document and click OK.
Image may be NSFW.
Clik here to view.
- Select event type Publish Unsuccessful and Life Cycle states All.
Image may be NSFW.
Clik here to view.
- Setup the rest of the subscription as usual. I have my notification delivered according to schedule to avoid being bombarded with emails!!
Clik here to view.
