Profile picture for user Venky-RIL

We have created a "What you see What you get" report to output the information contained in a Process Model (modelled as an EPC) to a word / pdf document. This report lists out all the functions (process steps) and the corresponding attributes of that function. The challenge that we are facing is that we cannot get the output to order itself as per the flow of the process. The best we have done so far is to order the output based on the physical location of the function object in the model. We are trying to build some logic to order the output (Ascending / Descending) according the "Identifier" attribute of the function objects in the EPC model. Has anyone done this or something similar successfully? We could sure use the help.

by Shashi Pal
Posted on Thu, 10/31/2013 - 15:05

Dear Venky,
I had done ordering based on object identifier in code mode not in design mode:

var g_loc=Context.getSelectedLanguage();
var oModel=ArisData.getSelectedModels();

function main(){
var goutputfile=Context.createOutputObject() ;
goutputfile.BeginTable(100, Constants.C_GREY_80_PERCENT, - 1, 8, 0);
goutputfile.TableRow();
goutputfile.TableCell("Object Name",50,"Arial",10, Constants.C_BLACK, Constants.C_TRANSPARENT, 0, Constants.FMT_BOLD | Constants.FMT_LEFT | Constants.FMT_VTOP, 0);
goutputfile.TableCell("Object Identifier",50,"Arial",10, Constants.C_BLACK, Constants.C_TRANSPARENT, 0, Constants.FMT_BOLD | Constants.FMT_LEFT | Constants.FMT_VTOP, 0);

for(var i=0;i objectB.toString()) return 1;
if(objectA.toString() objectB.toString()) return -1;
return 0;
}
main();

0
by Ankit ranka
Posted on Thu, 07/17/2014 - 09:34

In reply to by Shashi589

Hi Shashi,

Can you please paste the exctly needed code?? I think in above mentioned  code nothing is related to sorting of function entity of a model. please help :)

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • 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