Browser script not get triggered
Last updated on MARCH 02, 2017
Applies to:Siebel Tools - Version 7.5.3  and later
Oracle Solaris on SPARC (64-bit)
Product Release: V7 (Enterprise)
Version: 7.5.3 
""Checked for Relevance on 17-APR-2015""
Database: Oracle 18.104.22.168
Application Server OS: Sun Solaris 8
Database Server OS: Sun Solaris 8
This document was previously published as Siebel SR 38-1649649997.
We have a requirement to export SRs in eService standard interactivity mode and display the records in browser. We have a button to trigger workflow process to generate HTML file. The workflow has been built to generate XML and call XSLT business Service. The output file is HTML format on the server. We want to display the HTML directly in the IE browser. Siebel suggested to use symbolic URL and "GotoURL" method, but it can't be done to call workflow and display HTML page within one button.
I had tried to use browser script to call workflow and get output parameter, then use window.open() method to open HTML file. The browser didn't get triggered.
if (name == "Test")
var svc = TheApplication().GetService("Workflow Process Manager");
var input = TheApplication().NewPropertySet();
var output = TheApplication().NewPropertySet();
input.SetProperty("ProcessName", "NeuSupport Export Write SR to XSLT");
ar ret = svc.InvokeMethod("RunProcess",input,output);
var myURL = output.GetProperty("HTMLfileName");
svc = null;
input = null;
output = null;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms