Autocomplete Rule: Restrict Line Manager from creating specific Document Record for self
Summary:
Goal:
I am trying to prevent Line Managers from creating a specific Document Record type (Document Type ID: 300000003588629) for themselves under the "Me" tab, while still allowing them to create it for their direct reports under "My Team."
Current Configuration:
Business Object:Document RecordRule Type:Object Validation RuleLogic:Condition 1: Document Records.Document Type equals 300000003588629Condition 2: Document Records.Person ID (Subject) equals LoggedInPersonId (Manager)
The Problem:
I am struggling to reliably capture the Logged-In User’s Person ID.
HCM Params:When using Get long value from HCM Params ("pLoggedInPersonId"), the UI forces a "Current Row" context which seems to result in a null value, allowing the transaction to bypass the validation.
Tagged:
0