9 Replies Latest reply on Aug 29, 2011 12:54 PM by Jeremy Schmidt

    get %nextrevision% through the api

    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.