ARIS User Group Deutschland (German only)
Register
ARIS Process Mining in action - Live Demo
Register
AGNL Thema-sessie Architectuur (Dutch only)
Register

View all
Profile picture for user RBeddoe

I have a script that parses the group path. Problem is that in ARIS Business Architect, the path is represented in the hosts format (i.e. "\" backslash). But in the ARIS Publisher web-based environment, the path is represented as "/" forward slash. I am trying to use the split command on the slash character, but this causes a problem in either of the environments. In the host environment, we must use path.split(" \\\\ ") (no spaces) in the publisher environment we muse use path.split("/")

Is there a better way to parse the path? If not, is there a way for the script to recognize if it is in the publisher environment vs. the Business Architect environment?

Regards,

Rick Beddoe

Cargill Aris Technical Analyst

Minneapolis, MN, USA

by Rick Beddoe Author
Posted on Tue, 06/12/2012 - 18:40

Well how about that, answered my own question :)

 

                 var oGroups = oPath.split("/");
                 if (Context.getEnvironment() == "STD"){
                     var oGroups = oPath.split("\\\\");
                 }

Regards,

Rick Beddoe

Cargill Aris Technical Analyst

Minneapolis, MN, USA

0

Featured achievement

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