Quantcast
Channel: PTC Community : All Content - Windchill
Viewing all articles
Browse latest Browse all 6049

Latest iteration refresh

$
0
0

Hi All,

 

I have a promotion request workflow in PDMLink 10.0 that has a rework loop using the following refresh expression

 

wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;

try

{

com.ptc.windchill.enterprise.maturity.PromotionNoticeWorkflowHelper.refresh(pn);

}

catch( Exception wte )

{

wte.printStackTrace();

}

 

The rework loop works fine if the promotion object is iterated once (i.e. from A.1 to A.2).  The refresh will update the promotion request to be associated with A.2.  But if the promotion object gets iterated more than once (i.e. from A.1 to A.2 then again to A.3) during rework, the refresh doesn't work and the promotion request will remain associated with A.1. 

 

Shouldn't the refresh promotion objects expression be able to update A.1 to A.3?  or is there some other way to do this?


Viewing all articles
Browse latest Browse all 6049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>