R12: OIE: Expense Report Approval Workflow shows Error "ORA-04061 existing state of package body APPS.AP_WEB_EXPENSE_WF has been invalidated" (Doc ID 1303929.1)

Last updated on FEBRUARY 10, 2017

Applies to:

Oracle Internet Expenses - Version 12.1.1 and later
Information in this document applies to any platform.

Symptoms

Expense Reports are created and submitted for Approval. Notification does not reach the Approver. When checked from the status monitor, the workflow has errored out with the following error message -

[WF_ERROR] ERROR_MESSAGE=3835: Error '-4061 - ORA-04061: existing state of has been invalidated

ORA-04061: existing state of has been invalidated

ORA-04061: existing state of package body "APPS.AP_WEB_EXPENSE_WF" has been invalidated

ORA-04065: not executed, altered or dropped package body "APPS.AP_WEB_EXPENSE_WF"

ORA-06508: PL/SQL: could not find program unit being called: "APPS.AP_WEB_EXPENSE_WF"' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.

ERROR_STACK= Wf_Engine_Util.Function_Call(AP_WEB_EXPENSE_WF.CALLBACKFUNCTION, APEXP, 14008, TEST_CTX) Wf_Engine_Util.Execute_Selector_Function(APEXP, 14008, TEST_CTX) Wf_Engine_Util.Function_Call(AP_WEB_EXPENSE_WF.CALLBACKFUNCTION, APEXP, 14008, TEST_CTX) Wf_Engine_Util.Execute_Selector_Function(APEXP, 14008, TEST_CTX) Wf_Engine.CB(TESTCTX, APEXP:14008:245240, ::::) Wf_Engine.oldCB(TESTCTX, APEXP:14008:245240, ::::) WF_MAIL.SetContext(14272) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 14272) WF_XML.Generate(oracle.apps.wf.notification.send, 14272) WF_XML.Generate(oracle.apps.wf.notification.send, 14272) Wf_Event.setMessage(oracle.apps.wf.notification.send, 14272, WF_XML.Generate) Wf_Event.dispatch_internal()

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms