How to retrive the latest Revision Number of the current Branch

0
Hi I'm trying to retrive the latest, or at least the current revision, of the current branch, but I can't find a way to do it. ** Edit: in a Microflow do you have any idea about ? any help will be appreciated.
asked
3 answers
1

Mendix has an API for that: https://docs.mendix.com/apidocs-mxsdk/apidocs/app-repository-api/

You can retrieve all your branches and all the latest commits.

Regards,

Ronald

 

answered
1

Use this code on java action 
to get the Revision Nr
 

Core.getModelVersion();

answered
0

Hi Ahmad

 

Go to 

Version Control > Manage branch line

 

Create New Branch, and choose the version you want

answered