Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi everyone,
I'm trying to get a workflow to trigger when a user submits a new document as part of a development project. I found this bit of code that pretty much does the trick:
https://community.ptc.com/t5/Windchill/Auto-Create-wt-document/m-p/318327#M37355
I have the code in an expression robot in a workflow that's called in a phase process. By changing the wt.doc.WTDocument bits to wt.change2.DesignReview (in theory) I'd be set BUT... there is no wt.change2.DesignReview in the JavaDoc (we're on 11.2.1.4).
By putting in wt.change2.WTChangeRequest2 etc. the workflow functions just fine. Except I don't want to auto create a change request. I need to auto create a Design Review.
Any thoughts or ideas on how to proceed? Is this an intentional omission by PTC or am I looking at the wrong place in the documentation?
Many thanks!
Solved! Go to Solution.
After some tech support help, it turns out that the design review object is not (yet) available for customization so it cannot be used in code.
After some tech support help, it turns out that the design review object is not (yet) available for customization so it cannot be used in code.