Article - CS414006
Windchill PDMLink: API com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.isRelatedChildrenInStates() returns incorrect result for change notice subtype
Modified: 24-May-2024
Applies To
- Windchill PDMLink 13.0
Description
- API com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.isRelatedChildrenInStates() returns incorrect result for change notice subtype
- For Windchill 13.0, ECR workflow gets stuck in Sync robot that runs below code if(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.isRelatedChildrenInStates()
if(com.ptc.windchill.pdmlink.change.server.impl.WorkflowProcessHelper.isRelatedChildrenInStates((wt.lifecycle.LifeCycleManaged)primaryBusinessObject, new String[]{"RESOLVED"}, new String[] {"org.rnd.subchangenotice2"})) {
System.out.println("RelatedChildrenInStates for SubType returned true");
} else {
System.out.println("RelatedChildrenInStates for SubType returned false");
}
This is a printer-friendly version of Article 414006 and may be out of date. For the latest version click CS414006