For more information, please refer to this announcement explaining best practices for getting answers to questions.
Restrict Back dated transfer actions for users with specific role
Summary: Restrict past dated transfer action for users with a specific role
Content (please ensure you mask any confidential information):
If the transfer start date is less than the current date, then system should throw an error. For example, if I am doing the transaction on 13 August 2023 and giving the transfer start date as 12th Aug then system should not allow.
Also, this should be applicable only for employees having a particular role. If the employee doing the action does not have the role then system should not throw an error. It should allow past date transaction
I have configured the autocomplete rule. System does throw an error when date entered is past date.However it restricting all employee. It is not taking into consideration the role criteria. I want that employees with a specific role only should get that error message.