Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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?