Related Action - how to hide link based on a condition
Hi,
In PeopleTools 8.57, how to hide the Related Action based on a condition. We have also tried using the Service Filter feature in the Configure Service of the Related Action. The App Package there implemented the following but the link in the Related Action still becomes visible. Are there any other options to implement this.
import PT_RCF:*;
import PT_RCF:ServiceFilter;
class FilterNonEmp extends PT_RCF:ServiceFilter
method FilterNonEmp();
method linkVisible() Returns boolean;
end-class;
method FilterNonEmp
%Super = create PT_RCF:ServiceFilter();
end-method;
method linkVisible
/+ Returns Boolean +/
/+ Extends/implements PT_RCF:ServiceFilter.linkVisible +/
WinMessage("HERE My Condition here ");
Return False;