Does any body has experience of integration of the ARIS BA/BD with 3rd party application?
We want to send results of the ARIS report to external application for further processing.
There are 3 types of interfaces with applications we are looking for:
- Windows Executable (just a command-line utility)
- CGI via HTTP request
- Writing data into SQL database.
Need help with implementation of such interfaces with ARIS.
Thanks in advance.
Sergei
Sergei Real-Picture Author on
It looks like nobody from tech deparment monitors the forum posts and talking to youself is a style of communication.
By accident discovered that ARIS JavaScript has functionality to execute external appications.
The following code does it perfectly .... to some degree:
(sorry, code formatting doesn't work for some reason).
function main()
{
Dialogs.MsgBox("Test for the external program execution.", Constants.MSGBOX_BTN_OK, "ARIS V7 TEST");
var process = Context.execute("\"c:\\temp\\aris_test.bat\"");
var inReader = new java.io.BufferedReader(new java.io.InputStreamReader(process.getInputStream()));
var sResult = "";
var text;
while((text = inReader.readLine()) != null)
{
sResult += text + "\n";
}
process.waitFor(); //ends when process terminates
Dialogs.MsgBox("Test for the external program execution\n" + sResult, Constants.MSGBOX_BTN_OK, "ARIS V7 TEST");
}
main();
the Batch file has the following lines.
@ECHO OFF
@ECHO THIS IS BATCH FILE
@ECHO for ARIS exececute interface
@ECHO line 1
@ECHO Line 2
@ECHO Line 3
The result of the script execution will be display of the output lines of the script.
Regards
Sergei.