My Oracle Support Banner

FS Preventive Maintenance Engine Sets "Due Date" With "Current Date" Instead Of "End Date" Parameter Value In the Activity Creation (Doc ID 2071872.1)

Last updated on APRIL 03, 2024

Applies to:

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

Symptoms

Even when passing "End Date" as Input Parameter in the FS Preventive Maintenance Engine (FSPrevMnt), the Asset Activity "Due Date" is set with "Current Date".

It was expected that if "End Date" is passed, then the Asset Activity "Due Date" should be populated with the "End Date" input parameter value.

To reproduce:

1. Create a workflow process with a business service step that invokes 'Server Requests' BS > 'SubmitRequest' method and process properties as inputs to the FSPrevMnt engine.

2. Deploy and Activate the workflow process.

3. From Administration - Product, create a serializable product and release it.

4. Create a Preventive Maintenance plan with a time trigger as below:

Administration - Preventive Maintenance:

Name: Test PM Plan
Created: 10/26/2012 08:39:19 AM
Last Run: 8/2/2015 03:29:38 PM
Priority: blank
Min SRs Required: 0
Over # of Days: 365
Active: checked
Optional: unchecked
Real Time Trigger: unchecked

Triggers:

Time Interval

Interval: 183
Valid Start: 0
Valid End: blank


5. From Assets, create a new Asset and associate above created product to the asset. Set Installed = Registered = 4/24/1997

6. Login to the Field Service Application, go to Administration - Business Service > Simulator

Simulate the workflow process with the inputs:

PM_spcEndDT="2015-10-05"
PM_spcAsset_spcID="1-5ZT-2"
ProcessName="PM Test Workflow Process"
PM_spcDefActOwnerID="0-1"
PM_spcPlan_spcID="1-GI6WEQ"
PM_spcMode="Id"


Result: FSPrevMnt creates 1 PM Action with Due = current date = 9/8/2015 08:00:00 AM (9/8/2015 is the current date when simulating the workflow process)

Changes

 

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
Changes
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.