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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Use attribute to determine team for Change Process?

mdebower
18-Opal

Use attribute to determine team for Change Process?

Is there anyway to use an attribute in a WTPart to help determine the team involved for a Change Notice?  For example the WTPart might have an attribute for component type: stamped, laser cut, machined, cast, molded, or others.  We would like to use that attribute to automatically determine the team needed for the Change Notice and Change Tasks as we would have different people for each of those types.

Or is there a different or better way to accomplish the same thing?

-marc

1 REPLY 1

Marc,

This is definitely doable.

I assume the WTPart is either the affected data or resulting item on the Change Activity.

I also assume you have a workflow running on both the Change Notice (Change Order) and its CA.

In the CO workflow you could do the following with some custom code:

1. Get the CO's CA.

2. Gets the WTPart from the CA (Affected Data or Resulting Item, your call on this).

3. Gets the WTPart's attribute's value.

4. Get the appropriate team based on the attribute value.

5. Reassign the CO/CA  teams to the team found in step 4

That's the big picture on how I would do this.  The actual code to make it happen would not take too much effort to write.  If you need help in that department please feel free contact me outside of this thread.

David

Announcements

Top Tags