CV

Hello,

I'm building a report, and my client have requested information about EPCs versions. Anybody know what are those elements which contain this information?

In the end, I need to present something like this:

Version       Date             Comments about version

1                23Feb2010   First version (default)

2                26Feb2010   Applications added

.

.

.

 

Thank you in advanced

 

Cesar

 

by Vladimir Bis
Posted on Tue, 02/14/2012 - 12:05

Hi Cesar,

try this code:

var reportVersioning = Context.getComponent("Versioning"); 
var oModel = ArisData.getSelectedModels()[0];
var revInfo = reportVersioning.getModelRevisions(oModel);
for (var i = 0; i < revInfo.length; i++){    
   Dialogs.MsgBox(revInfo[i].getRevisionNumber() + '\n\n' + revInfo[i].getChangeListInfo().getID() + ', ' + 
                  revInfo[i].getChangeListInfo().getSubmitTimeGMT0() + ', ' + revInfo[i].getChangeListInfo().getDescription());
}
0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • BZ
  • Profile picture for user TEF_Bernd
  • ПЦ
  • CR
  • BH
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock