Haseeb-Ahmed
ServiceNow Employee

Hi @Hariskanthini ,

You may follow the below steps

1. Add a new transform data broker to fetch current user's groups (refer to screenshot, a ACL will be required for the new data broker)

DataBroker.png

2. Remove the UpdateDonutsConfig client script from the Page ready event, and then add the UpdateDonutsConfig client script on the new data broker's  Data fetch succeeded event (refer to screenshot)

Existing script binding on page load.pngAdd client script on data broker success.png

3. Update the UpdateDonutsConfig client script to filter donut configs based on the fetched groups(refer to the screenshot)Update client script to filter config based on groups.png

 

Please mark it helpful, if it answers your query.

Thanks,
Haseeb Ahmed

View solution in original post