Events Not Being Triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone else had this problem? I have been working on some new event triggered rules, but twice in the past two weeks I've had my event triggers stop working. The first time, it was On New Drawing Document, and this time it was On Drawing Document Close. The rules all work if I manually run them, and everything I'm seeing suggests that the actual event is not being triggered. Closing and reopening Inventor solves the problem.
Is there a possibility one of my other new rules is hanging up somewhere, preventing Inventor from listening for events until I close and reopen it? I would be surprised if this is the case, since Inventor isn't frozen and I can still interact with it, but I'm at a loss. If this might be the case, how would I find which rule (and where in the rule) the hangup is happening? I could put Logger statements at the beginning and end of each rule, but since this seems to happen very rarely, waiting for it to happen and then checking iLogics doesn't seem to be an optimal method.
Further thoughts:
One of the rules I am testing deletes legacy document-stored iLogic rules since we now run only external rules (for troubleshooting/improvement purposes). It runs in the Before Save event. If one of the deleted rules was also in the before save event (or after save perhaps), could it have been queued to run before being deleted, causing Inventor to look for the rule but not be able to find it and causing the issue?