JC

Dear all,

I need to create a new Group in context of a selected current group.

Then, I need to create a new Model (EPC) under new Group.

Thanks in advance for your help.

Best regards,

José Camacho

 

 

by Francois Du Toit
Posted on Tue, 09/06/2011 - 07:54

Hi Jose,

to create a sub-group you can use the command:

CreateChildGroup ( String sName, int localeId )

For creating a model on a grp:

CreateModel ( int ModelType, String sName, int localeId )

Hope this helps.

Rgs,

Francois

0
by Jose Camacho Author
Posted on Mon, 09/12/2011 - 15:20

In reply to by ARIS_Downunder

Hi Francois,

Thanks a lot for your help.

Meanwhile, I need to build a report to do as following:

1) Read a EPC model ordered by objects in the sequence of modelling (topologic way);

1.1) Create a EPC model assigned by each function got from the input EPC.

The idea is to create a hierarchy from EPC model as input to detailed EPCs as output.

Thanks in advance for your help.

0
by Vinay Agarkhed
Posted on Tue, 09/06/2011 - 07:55

Hi Dr. José,

So you required yo create a new model in a new group under the selected Group.

Following code shows how to create subgroup and then the model (EPC) in the new group under the first group you have selected as context.

--------------------------------------------------------------------------------------------------------------------------------

var oSelectedGrp = ArisData.getSelectedGroups();

var  localeID = Context.getSelectedLanguage();

var oGroup = oSelectedGrp[0].CreateChildGroup("<group name>", localeID );

var oNewModel = oGroup.CreateModel(Constants.MT_EEPC, "<model name>", localeID);

--------------------------------------------------------------------------------------------------------------------------------

This is a sample code, you can modify it according to your need.

Sorry for hard coding above, code snippet function not working here.

 

Regards,

Vinay

0
by Jose Camacho Author
Posted on Mon, 09/12/2011 - 15:18

Hi Mr. Vinay,

Thanks a lot for your help.

Meanwhile, I need to build a report to do as following:

1) Read a EPC model ordered by objects in the sequence of modelling (topologic way);

1.1) Create a EPC model assigned by each function got from the input EPC.

The idea is to create a hierarchy from EPC model as input to detailed EPCs as output.

Thanks in advance for your help.

Best regards,

José Camacho

0
by Vivek Ingle
Posted on Tue, 08/27/2013 - 15:20

Hi  Vinay Agarkhed

I have a following problem

 creating a two object in a System Capability breakdown model without using database.

Thanks & regards

Vivek 

0
by Kevin Abestilla
Posted on Tue, 12/16/2014 - 08:31

Hi All,

I need to create a report script that check if the group named "zz_folder to be deleted" already exists, if not I should create a folder named  "zz_folder to be deleted". Kindly please  help me on this. Thansk,

 

Best Regards,

Kevin

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

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