AnsweredAssumed Answered

get %nextrevision% through the api

Question asked by Jeremy Schmidt on Aug 25, 2011
Latest reply on Aug 29, 2011 by Jeremy Schmidt

EPDM transitions have a predefined function to get the the next revision (%nextrevision%) based on the revision components of the destination state.  Is there a way to duplicate this functionality through the API?  I have found ways to get the revision scheme of the destinate state, get the current revision value, but not to get what that next value will be.  I could write some complex code to get the next value based on its current revision scheme, current revision value, and destination state, but I'd rather not unless I really have to.  I need to get the value pre-state change, so that I can cancel the transition if necessary.