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 with Redwood for Oracle Cloud HCM   Begin Now

Inactive Employees Get Error in Approval Rule. What kind of rule should be written?

edited Jun 6, 2024 11:47AM in Human Capital Management 1 comment

After people are terminated, when we add documents for these people, the system gives us an error.

How can we solve this problem?

I found the code below and added it to the approval route, but it did not work. What can you suggest?

' ((getNewDoRByTransactionIdResponse.result.AuthorizationRequired == "Y") AND (NOT (GetAllRepresentatives("HR_REP",Task.payload.getRepresentativeListWrapperResponse.result) contains transactionApprovalRequest.Requestor)) '

(We use approval rules)

The problem is that this approval route is included in the wrong rule.

The system gives an error when document records are entered for inactive employees.

When a document record is entered for active employees, it must be included in the correct approval rule in the system.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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