ID

Hi there:

I am using this function:

 

function eliminarDiagramas(op){
   var diagramas = omf.toOmfObject(op).omfGetAssignedDiagrams().toArray();

   for (var i = 0; i < diagramas.length; i++) {
       if(diagramas[i].toString().indexOf("XX-Storage") > -1){
           // Desasignar el diagrama enlazado
           //omf.toOmfObject(op).omfUnassignDiagram(diagramas[i]) ?????????
       }
   }
}

 

I do get the diagrams connected to a object, and then I look for any of them being into the "XX-Storage" folder. After that, I wuold like to remove this conection between the object and that diagram. How should I do that?

 

Thanks in advance,

 

Ignacio

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CP
  • BZ
  • Profile picture for user TEF_Bernd
  • ПЦ
  • CR
  • 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