cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

How to override the Windchill promotion request form delegate

TomU
23-Emerald IV

How to override the Windchill promotion request form delegate

I'm tying to add additional checks that will run before a user can complete the promotion request wizard.  These should validate that (a.) the user did not select themselves and (b.) at least one person has been selected for each of the promotion request roles.

 

I would prefer to stop the wizard from completing vs. trying to catch these problems after the workflow has started.  From what I'm reading, this seems to be possible by overriding the promotion request delegate.

 

There is a sample code snippet by @BhushanNehe here:

https://community.ptc.com/t5/Windchill/How-to-stop-a-User-selecting-himself-as-an-Approver-in-Promotion/m-p/144787/highlight/true#M17171

 

There is also help documentation here:

http://support.ptc.com/help//windchill/wc111_hc/whc_en/index.html#page/Windchill_Help_Center%2FWCCG_BusLogicCust_WorkflowAdmin_MultPartSelectWizard_Sect3.html%23

 

I'm guessing I need to create a Java file, compile it, and then register a service, but I'm not sure how to do this.  I'm not a developer...

 

Would someone be willing to walk me step by step through how I override the Windchill promotion request delegate and actually implement these checks on my Windchill system?  

2 REPLIES 2
vdesai
5-Regular Member
(To:TomU)

Hi @TomU, I have done a similar customization. Let me know if we can have a quick call so that I can help you with this customization.
Thanks,
Vikram

TomU
23-Emerald IV
(To:vdesai)

I just sent you a personal message.  Thanks.

Top Tags