R12: PAPROWF PA Project Workflow Errors with ORA-01427: single-row subquery returns more than one row (Doc ID 2293592.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle Project Foundation - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

The following error occurs when setting the Success Status activity in the PA Project workflow:

Failed Activity Set 'Success' Status

Activity Type Function

Error Name -1427

Error Message ORA-01427: single-row subquery returns more than one row

Error Stack PA_PROJECT_WF.SET_SUCCESS_STATUS(PAPROWF, 1289284, 299792, RUN) Wf_Engine_Util.Function_Call(PA_PROJECT_WF.SET_SUCCESS_STATUS, PAPROWF

Cursor l_get_approver_userid_csr has no condition for the item type so the workflow will error if there is another workflow with same item key, different item type and different user, see Bug 16688806: BUDGET APPROVAL PROCESS ORA-01427: SINGLE-ROW SUBQUERY RETURNS MORE THAN ONE ROW.  The workaround of running the standard concurrent program FNDWFPR "Purge Obsolete Workflow Runtime Data" to purge old data from the Oracle Workflow tables does not work because the expenses workflows never complete, they all remain in an active state.

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