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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Tally code for manual routing in workflow task

RajeshBalasunda
2-Explorer

Tally code for manual routing in workflow task

Hello,



We are on 10 M040. In a workflow task, I have added Manual routing (Approve & Dont Approve). Didnt user Manual Exclusive as users didnt want an option selected as default. Since it is Manual, they are forced to chose the routing option. I have the option to select both options too. We want to restrict to only one selection. Can someone provide me with a tally code that will throw an error if both routing options are selected and they try to complete the task.


Regards,

Rajesh Balasundaram

4 REPLIES 4

You can set it so the default is not selected.

In wt.properties set com.ptc.windchill.enterprise.workitem.dataUtilities.setDefaultRoutingEvent to false

I have this set in my site.xconf, then propogated it to wt.properties.

<property name="com.ptc.windchill.enterprise.workitem.dataUtilities.setDefaultRoutingEvent" overridable="true"&lt;br"/> targetFile="codebase/wt.properties" value="false"/>

Steve D.

We've done this also (set to not selected by default).
Nicely solves the problem you describe and allows using the normal routing approach in all WF Tasks.

Use Manual Exclusive.
Create a dummy routing option. Have the dummy select by default
In dummy options Transition throw an exception if routed to dummy option.

This will force the user to explicitly select a routing option.

Hope this helps

David

Worked perfect Steve. Thanks for your valuable input.

Thanks!!

Rajesh Balasundaram
IT Site Leader/Windchill System Administrator
Optical Connectivity Solutions Keller Plant

Corning Optical Communications LLC
9275 Denton Highway
Keller, TX 76244

t 817 431 7337
m 817 676 2868
E-mail rajesh.balasundaram@corning.com<">mailto:rajesh.balasundaram@corning.com>
Announcements


Top Tags