ID

HI guys:

I am trying to copy an object (OP) to another folder and the only way I see is by pointing its own folder to the other. Ex:

The way I am doing it is:

for(var i=0;i<lista_operaciones.length;i++){

            lista_operaciones[i].Group().setParent(padreIni);

        }

But it is not efficient at all, beacuse I would like to move just the object OP_XXXX

THanks guys!

 

Ignacio

by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Wed, 05/29/2019 - 10:26

Hm, well, there is some method like ObjDef.ChangeGroup(TargetGroup)...   Would be easier...

0
by Ignacio De Diego Author
Posted on Wed, 05/29/2019 - 13:29

Now, I have a new question. How can I look for an specific folder inside one. Ex:

I have "padreIni" which is the root folder, but inside I would like to find one called "Operaciones". Should I loop the root looking for this folder or there is an specific function in ARIS?

Thanks!

0
by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Wed, 05/29/2019 - 14:26

If you know the complete path, you can try to get the group by path. Don't know the method right now, but just look into the available methods of database (or group)

0
by Ignacio De Diego Author
Posted on Mon, 06/03/2019 - 10:55

What I was looking for was the method .Childs(false), for going over till the target subgroup, thanks anyway!!

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