Hi @Shaheena_Sheikh,
In groovy you can use code like this:
Property property = node.getProperty("cq:rolloutConfig")
if (property?.isMultiple()) {
String [] values = property?.getValues() as String []
if(values) {
values += "new value"
node?.setProperty("cq:rolloutConfig", values)
save()
}
}