Tally code for manual routing in workflow task
Apr 22, 2014
04:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2014
04:00 PM
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
Labels:
- Labels:
-
Other
4 REPLIES 4
Apr 22, 2014
04:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2014
04:20 PM
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"<br"/> targetFile="codebase/wt.properties" value="false"/>
Steve D.
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"<br"/> targetFile="codebase/wt.properties" value="false"/>
Steve D.
Apr 22, 2014
04:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2014
04:23 PM
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.
Nicely solves the problem you describe and allows using the normal routing approach in all WF Tasks.
Apr 22, 2014
04:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2014
04:47 PM
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
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
Apr 22, 2014
05:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 22, 2014
05:24 PM
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>
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>
