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

Change personal information approval - Address deletion is not working

Summary:

The requirement is to write approval rules for Home address deletion . If it is deleted by employee himself , it should go for approval. I have written the code as :

((transactionApprovalRequest.SelfServiceTransaction == "Y") AND (transactionApprovalRequest.ViewInstanceName == "PersonAddress") AND (transactionApprovalRequest.DMLMode == "DELETE"))

This is not working.

I also tried changing the code like this:

((transactionApprovalRequest.SelfServiceTransaction == "Y") AND (transactionApprovalRequest.ViewInstanceName == "PersonAddress") AND (Proposed Person Address.result.personAddrUsageId == null) AND (Current Person Address.result.lookupCode != null) AND (Current Person Address.result.personAddrUsageId != null) )

This is also not working.
Can anyone help. Thanks.


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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