My Oracle Support Banner

PM Engine ignoring parameters passed from workflow/business service (Doc ID 1516290.1)

Last updated on NOVEMBER 22, 2019

Applies to:

Siebel Field Service - Version 8.1.1.5 SIA [21229] and later
Information in this document applies to any platform.

Symptoms

 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);


}

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.