I have a scenario and wanted your suggestion. Thanks for your support.
- User initiates State Change for Part
- Control comes to my Add-in Prestate Hook
- o Checking if the part has a Drawing
- o If yes, I need to add the Drawing to this workflow (I am stuck here)
- 1. How do I add the Drawing file to the current workflow while I am in the Prestate hook?
- 2. If that is not possible, how do I change the state of the Drawing without initiating a separate workflow using ChangeState API?
- 3. Is there anything wrong I am trying here? Is there any right process to release drawing automatically when the part is released?.