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

 or register to reply.

Notify Moderator