Hi All,Need your assistence i just wanted to update all the groups visibility to public by expression is there any way to do that.For example, If i have multiple groups and there visibility is restricted then i want to update it to as public please let me know if you have anything. Please check below secreenshot.
Discussion posts and replies are publicly visible
Edit group this will do it. But u need to have administrator access. Use it in loop and pass groupid's
So you mean to say i need to change securityType to PUBLIC
Yes , Use the function and set the SecurityType as Public.
okay to check it is worked how to get all groups those was restricted and now public
I don't get it , you want to know whether the expression executed successfully??
This one gives properties of your group . Or use Onsuccess Parameter of the editgroup function (Use Smart Service or if you want to use function use it in saveinto)
group( groupId: togroup(GroupId), property: "securityMapName" )
I was trying to say that is it posible to edit multiple group at the same time i am trying but getting this error
An error occurred while executing a save: Expression evaluation error : Attempted to run a second smart service, but only one smart service can be run per expression evaluation.Single is working fine
Are you using Function?? Or Smart service ?? I suggest you to to go with smart service .
Use looping in your process model.
Thanks !!!
Thanks for your suggestion !!!
I utilized the Smart Service Edit Group feature to update groups based on their group ID. Now, every group included in the list has been successfully updated, including the modification of their public property.