How to give multiple claim values in mapper config for identity provider?

I tried comma separated group ids but that didnt work.How else can we mention multiple group ids so that users from multiple groups in azure active directory are assigned the role in the mapper (claim to role)