This content has been marked as final. Show 3 replies
If your requirement is to restrict values displayed depending on the responsibility then you get the responsibility using
pageContext.getResponsibilityName(); get the notification type and pass it to where clause in sql query associated to VO , this way
you can restrict the values displayed .
Let me know if its not clear .
I'll make my requirement clear first so that you may know what i'm trying to convey via my question posted earlier.
The responsibility was created so that any person assigned that responsibility may have access to all workflow notifications that of are of the Type "Purchasing Requisitions". But when i query in the Self Service Page, workflow notifications of type other than requisitions are also being displayed ,e.g Journal Post Approval Notifications, Purchasing Invoice Approvals etc.
So i would like to filter the result set being displayed to only Purchasing Requisitions. Kindly, provide me steps i would need to follow to achieve the same.
I have clearly understood you requirement at the first sight .
You need to extend the controller class and get the custom responsibility name from which you are accessing this page using above method
i mentioned .
String cust_resp = pageContext.getResponsibilityName() ;
In PFR :
your business Logic goes here , get the notification type - Purchasing Requisitions ,
get your View object instance , pass the value to the where clause of VO attached to your table region there by you can filter the
You need to extend the controller class