How to restrict Guided journey task links based on user roles - Request a new position
Summary:
We have created a guided journey for Request a new position Redwood page with 2 sub tasks
Here we have created 2 tasks
department details link should be displayed for all
Incentive plan details link should be only visible for HR and Admin. For Line manager it should be hidden
The below condition is not working, the links are shown for all 3 users (Line manager, admin, HR)
[[$application.user.roles.includes('HR_GENERALIST_VIEW_ALL_DATA')?'INCENTIVE_PLAN_DETAILS':($application.user.roles.includes('HRS_DATA_ADMIN_VIEW_ALL_DATA')?'INCENTIVE_PLAN_DETAILS':null)]]
Can we restrict only one task based on role specific?