Run Feature Upgrade Flow
You need to run the feature upgrade flow to set the required attribute, if you've already created pension elements before setting up pensions enrolment using employee self-service.
Here are the steps to do this:
Navigation: