You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

Fusion Document Records Approval Issue

edited May 19, 2025 9:19AM in Human Capital Management

Summary:

Hi All,

We have requirement to create 2 Approvals for Document of Records which has custom DFF called "Reason". And the requirement is as follows.

  1. If Document Reason is "ABC" then Auto Approve
  2. If Document Reason is !="ABC" then LM Approval

This I configured using BPM as we have a date calculation logic here. During first couple of transactions, 2nd approval is working fine but at a later point approval attributes are disappearing from the rule and rule started misbehaving.

Rule 1 Logic :

( ( ( GetNewDoRByTransactionIdResponse.result.documentType != "Work from Home Request - Ongoing" ) && ( GetNewDoRByTransactionIdResponse.result.documentType == "Work from Home Request - Temporary" ) && ( GetNewDoRByTransactionIdResponse.result.deiAttributeNumber1 == 1 ) && ( Duration.days between(GetNewDoRByTransactionIdResponse.result.dateFrom.toGregorianCalendar(),GetNewDoRByTransactionIdResponse.result.dateTo.toGregorianCalendar()) <= 31 ) ) && ( ( GetNewDoRByTransactionIdResponse.result.deiAttribute2 contains "Local" ) || ( ( GetNewDoRByTransactionIdResponse.result.deiAttribute2 contains "ADA" ) || ( ( GetNewDoRByTransactionIdResponse.result.deiAttribute2 contains "Medical" ) || ( GetNewDoRByTransactionIdResponse.result.deiAttribute2 contains "New Hire" ) ) ) ) )

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!