on 2023 Jul 05 11:28 AM
Hi Experts,
I have a requirement to raise a warning message when an employee deletes a dependent record from the dependent portlet. But the warning should not be triggered when a new dependent is added by the employee.
I have configured a business rule to trigger the warning message but it's popping up even when a new dependent is added.
Request clarification before answering.
Here is how you can write this rule
Create 2 Variables using function called as Get Number of Dependents. Select base object as Dependents model
First Variable should return number of dependents on Event Date > Value
Second Variable should return number of dependents on Event Date > Previous Value
Now compare both variables in if statement. If Varaiable 2 < Variable 1 then raise your warning message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
Thank you for your input, but the function Get number of Dependents () function has some limitations.
This function will only retrieve the count of the dependents which are already saved in the database so the dependent we are saving will not be considered.
So, this will not work.
Regards
Hi Suraj,
Have you found a solution for this?
I am facing the exact same requirement but haven't found a suitable solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
No solution found till now.
Thanks
User | Count |
---|---|
11 | |
7 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.