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

Suggest efficient way

Pushpak_Old
10-Marble

Suggest efficient way

Hi All,

I have requirement like we can set the state of WTPart using either set state or Promotion request.

But when the WTPart is connected with Particular document for ex. test.

When WTPart will be connect with Test document then only the state of the part we can set as released.

I can see have to change at two places one at set state action and one in promotion request.

please provide your view on this how we can implement in easy way.

Thanks .

@HelesicPetr 
@VladimirN 

1 REPLY 1

Hello,

 

We can achieve this in two ways. 

1. Create a listener for SET STATE. If there are no documents attached to WTPART you can throw error.

2. Create a validator on WTPart if there are no documents attached the SETSTATE action should be disabled.

    Customize PR workflow and add validations. IF no document attached , take necessary action before releasing part. 

 

Thanks!!

Announcements

Top Tags