EOAW_NEM_PRC - Getting "Caught Exception: Invalid parameter 1 for function Minute. …"
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.