Siebel Developers: UX, Web Tools, Scripting, Integration (MOSC)

MOSC Banner

Does somebody know for what is in Siebel Tools the ServcerScript from BC "Internal Product - ISS Adm

In the BC "Internal Product - ISS Admin" I found in ServerScript the following function:

function BusComp_PreInvokeMethod (MethodName)
{

if(MethodName == "RefreshWorkspace")
{
  //Creating the log file
  var fp = Clib.fopen('c:\\log.txt', 'wt');
  Clib.fputs('Starting Invoke', fp);
   try
    {
    var sCallWF = TheApplication().GetService("Workflow Process Manager");
    var Inputs = TheApplication().NewPropertySet();
    var Outputs = TheApplication().NewPropertySet();
    Inputs.SetProperty("ProcessName", "CRMIntegComplexProductOutboundFlow");
Clib.fputs('Object Id:'+this.GetFieldValue("Configuration Model Id")+"\n", fp);
    Inputs.SetProperty("Object Id", this.GetFieldValue("Configuration Model Id"));
    sCallWF.InvokeMethod("RunProcess", Inputs, Outputs);
    }
   catch (e)
    {
    throw (e);
    }

   finally
    {
    Inputs = null;
    Outputs = null;
    sCallWF = null;
    }
  Clib.fputs('Complete Invoke', fp);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center