My Oracle Support Banner

R12: APINVAPR Child-workflow On Error Is Not Cancelled If Approvals Is Stopped In The AP Invoice (Doc ID 2349162.1)

Last updated on JULY 27, 2023

Applies to:

Oracle Payables - Version 12.1.3 to 12.2.12 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Invoice Issues & MassAdd

Child-workflow on error is not cancelled if approvals is stopped in the AP invoice

Invoice is entered in AP and Approval for invoice is initiated.
Two workflows are created: A parent wf and a child wf to the first responder. If parallel is enabled then there might be more child-wf created, one for each approver.
If the approval is cancelled in AP both the parent and the child wf are cancelled. This is expected behavior.

If the child WF goes on error [for example, escalated and the supervisor is not correctly defined in HR] and the approval is cancelled in AP then the parent wf is cancelled, but the child wf on error remains active.

Even if the cause for the error is remedied the “Retry Errored Workflow Activities” concurrent request will still return an errored wf because the parent has been cancelled.

It is expected that all relevant wf (parent and child) are cancelled if the approval is cancelled in AP.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Initiate approval from AP.
2. Go to System Administrator and end-date the approver.
3. Use Workflow Administrator Web (New) -> Status Monitor to query the workflow and simulate a time-out on the child-workflow.
4. The WF will go to error.
5. Return to AP, query the invoice and cancel the approval.
6. Go back to Workflow Administrator Web (New) -> Status Monitor and confirm the parent WF is marked as Cancelled and the child is on error.
7. Go to System Administrator and remove end-date on the approver, thereby activating him.
8. Go back to Workflow Administrator Web (New) -> Status Monitor and retry the errored WF. It will remain in error.
9. Alternatively, in System Admin run the Retry Errored WF concurrent request.
Same result.


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
Cause
Solution
 Standard Patching Process
 Patch Wizard
 Have more questions?
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.