Enterprise Service Automation (ESA) - PSFT (MOSC)

MOSC Banner

EOAW_NEM_PRC - Getting "Caught Exception: Invalid parameter 1 for function Minute. …"

edited Feb 10, 2020 1:35PM in Enterprise Service Automation (ESA) - PSFT (MOSC) 8 commentsAnswered

I am running EOAW_NEM which spawns out EOAW_NEM_PRC to trigger the ESCALATIONS.  I think this has a bug in App Pkg EOAW_CORE:NotificationEventHandler.

Original code: 

Local string &dttmString = Year(DatePart(&dttm)) | "-" | Month(DatePart(&dttm)) | "-" | Day(DatePart(&dttm)) | "-" | Hour(TimePart(&dttm)) | "." | Minute(TimePart(&dttm) | ".00.000000");

Getting Error:

Getting "Caught Exception: Invalid parameter 1 for function Minute. (180,116) EOAW_CORE.NotificationEventHandler.OnExecute  Name:updateSummaryDetails  PCPC:248039  Statement:2790"

Code fix for now:

Local string &dttmString = Year(DatePart(&dttm)) | "-" | Month(DatePart(&dttm)) | "-" | Day(DatePart(&dttm)) | "-" | Hour(TimePart(&dttm)) | "." | Minute(TimePart(&dttm)) | ".00.000000";

I am currently testing this.  I will update this discussion if this fix works.

Tagged:

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