AnsweredAssumed Answered

Releasing Drawing Automatically

Question asked by Rajendra Vedaraju on Aug 10, 2015

Hi guys,

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
    1. o Checking if the part has a Drawing
    2. o If yes, I need to add the Drawing to this workflow (I am stuck here)

 

Questions:

  1. 1.       How do I add the Drawing file to the current workflow while I am in the Prestate hook?
  2. 2.       If that is not possible, how do I change the state of the Drawing without initiating a separate workflow using ChangeState API?
  3. 3.       Is there anything wrong I am trying here? Is there any right process to release drawing  automatically when the part is released?.

Outcomes