Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to change the dimension of the model without changing the versioning scheme ?

$
0
0

Hello ,

 

I created workflow, workflow need to execute when EPMDocument checked in from PROE/AutoCAD. Workflow is set in EPMDocument lifecycle INWORK State.

However the workflow is called when EPMDocument save and Uploaded. which is wrong. workflow should execute when EPMDocument checked in.

To fix this issue , I added synchronize robot on check-in event of EPMDocument at beginning of workflow but issue not solved . Workflow starts when EPMDocument save and uploaded. and it wait at synchronize robot. But when I checked in EPMDocument then nothing happens, workflow not proceed , It holds process at synchronize robot. does anybody have idea ?

 

primaryBusinessObject is EPMDocument


if ( primaryBusinessObject != null ) {

 

  String stringCreator = ( (wt.epm.EPMDocument) primaryBusinessObject ).getCreatorName() ;

  String stringForlderPath = ( (wt.epm.EPMDocument) primaryBusinessObject ).getFolderPath() ;

  String stringLocation =  ( (wt.epm.EPMDocument) primaryBusinessObject ).getLocation() ;

 

  if( ! stringForlderPath.contains( stringCreator )  ||  ! stringLocation.contains( stringCreator  ) ) {

       result = "ok";

  }

}


Viewing all articles
Browse latest Browse all 8876

Trending Articles



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