Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Does anyone know if it's possible to remove the default selection on the Promotion Request Approval task in Windchill PDMLink?
Our task currently has two options:
Approve
Reject
The Approve option is always initially selected, but we'd like for neither to be initially checked, and force the user to select one.
Does anyone know if this is possible and how to change it?
Thanks in advance
It is controlled by a property in wt.properties, com.ptc.windchill.enterprise.workitem.dataUtilities.setDefaultRoutingEvent. You can set it to false.
Thanks Binesh.
I'm assuming that this property will apply for all tasks, and not just Promotion Request Approvals.
Is this correct?
That's correct. One workaround if you want to set this to a specific task is, create a default routing option as the first choice and in the transition throw an exception forcing the user to make a choice between the valid choices.
I had a similar issue and tried throwing an exception. But initially I had a syntax error due to unreachable code. I temporarily got around that by throwing within an if-statement, but in some circumstances I still get the error (still trying to localize those circumstances... was trying multiple things at the time).
I'm worried that the transition code is being inserted rather than called and if multiple transitions have code they will interfere with each other.
MyGroundBiz wrote:
I had a similar issue and tried throwing an exception. But initially I had a syntax error due to unreachable code. I temporarily got around that by throwing within an if-statement, but in some circumstances I still get the error (still trying to localize those circumstances... was trying multiple things at the time).
I'm worried that the transition code is being inserted rather than called and if multiple transitions have code they will interfere with each other.
One workaround if you want to set this to a specific task is, create a default routing option as the first choice and in the transition throw an exception forcing the user to make a choice between the valid choices.