I have a requirement where there is a standard screen that has a Advanced table with the rows containing addresses, the requirement is that based on the particular type of address that specific row should be displayed for one responsibility but should not be displayed in other responsiblities.

There can be other types of addresses rows in the advanced table which are independent of such a constraint.

Capture the value of Address type in variable and similarly capture the value of Responsibility name using pageContext.getResponsibilityName()
Based on your business logic handle it and execute query associated with the advanced table region . You can even filter it using set where clause
method .