Siebel Business Process & Functionality (MOSC)

MOSC Banner

PM Engine ignoring parameters passed from workflow/business service

edited Dec 31, 2012 3:54AM in Siebel Business Process & Functionality (MOSC) 1 commentAnswered

Preventive Maintenance Engine(PM component) ignoring the end date parameter passed from workflow.The problem seen is that the End Date is not being passed to the component.below mentioned is the script used

function Service_PreInvokeMethod(MethodName, Inputs, Outputs)
{


if(MethodName == "InvokeEngine")
{
var svc = TheApplication().GetService("Server Requests");
var input = TheApplication().NewPropertySet();
var child = TheApplication().NewPropertySet();
var output = TheApplication().NewPropertySet();
input.SetProperty("Component", "FSPrevMnt");
input.SetProperty("Mode", "Async");
child.SetProperty("Mode", "Id");
child.SetProperty("Sub-mode", "Plans");
child.SetProperty("Plan ID", "1-4ZLV2");
child.SetProperty("EndDT", "2013-02-20");
input.AddChild(child);
svc.InvokeMethod("SubmitRequest",input,output);

return(CancelOperation);
}

return(ContinueOperation);

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