Connecting and GeoAccess To Siebel
Connecting and GeoAccess To Siebel
Introduction
This document describes the steps to be taken in order to connect to AND GeoAccess to
Siebel.
Init Method
The init call returns the list of columns it supports.
Return (CancelOperation);
}
Query Method
Code the query call to execute a workflow which will perform all the ‘work’ as
follows. To extract the fields and pass these to the workflow you will have to write
some code.
function Query(Inputs)
{
var workflowSvc = TheApplication().GetService("WorkflowProces Manager");
var workflowInputs = TheApplication().NewPropertySet();
var tmpOutput = TheApplication().NewPropertySet();
var ProcessName = "Workflow AND GeoAccess"
try
{
Country = Inputs.GetChild(0).GetProperty("Country");
Street = Inputs.GetChild(0).GetProperty("Street");
Premise = Inputs.GetChild(0).GetProperty("Premise");
Name = Inputs.GetChild(0).GetProperty("Name");
City = Inputs.GetChild(0).GetProperty("City");
PostCode = Inputs.GetChild(0).GetProperty("PostCode");
SubscriptionKey = Inputs.GetChild(0).GetProperty("SubscriptionKey");
UseCleanseSearchMethod = Inputs.GetChild(0).GetProperty("UseCleanseeSearchMethod")
var i=0;
var PSName;
while (i < outPS.GetChildCount ())
{
tmpOuput = outPS.GetChild(i).Copy();
PSName = tmpOutput.GetType();
if (PSName == “PropertySet”) { break; }
i++
}
return (tmpOutput);
} catch (e) {return (CancelOperation);}
}
PreInvokeMethod Method
Code the PreInvokeMethod to propagate the method calls for Init and Query. This is
also the place to capture the data entered by the user for executing the Query Method.
}
catch (e)
{
TheApplication().RaiseErrorText("Error: " + e);
return (CancelOperation);
}
}
else
return (ContinueOperation);
}
Create Workflow