Skip to main content
2-Explorer
September 12, 2014
Question

Revise Change Request not refreshing to new version

  • September 12, 2014
  • 0 replies
  • 871 views

For specific reasons, I had to write my own version of the Revise action for Change Requests. Everything works fine with my processor with the exception of the refresh at the end. When the processor completes and the browser refreshes, it is showing the previous version, not the new version. With Windchill 10.2, we are supposed to use

DynamicRefreshInfo info = new DynamicRefreshInfo (nmOid, nmOid, NmCommandBean.DYNAMIC_UPD);

formresult.addDynamicRefreshInfo(info);

instead of:

formresult.setURL()

formresult.setNextAction()

How do I get the refresh info to display the new version, not the current version?