Good Morning All,
We are changing our system to use State Based versioning and I need to be able to change from Numeric to MilSpec versioning from a change order. Does anyone have the change order workflow code that will make this change? I have code that works in a Promotion Request (shown below), but when I use the same methods in a change order, it does not return the new MilSpec version after the object is in the new versioning state. Any help would be appreciated.
wt.lifecycle.LifeCycleHelper.service.setLifeCycleState(lcManaged, wt.lifecycle.State.toState("MILSPEC_STATE"));
wt.vc.Versioned verObj = (wt.vc.Versioned) lcManaged;
wt.vc.VersionIdentifier versionID = wt.vc.VersionControlHelper.nextVersionId(verObj);
wt.vc.VersionControlHelper.service.changeRevision(verObj, versionID.getValue(), true);
Mike