Skip to main content

Hi - super new to Nintex and tasked with migrating workflows from SP2013 to O365. We have a Nintex workflow that sets individual permissions on an item for each user in a SharePoint group listed under Site permissions, then removes the permissions for anyone in the "deny" field for the item. 

 

The old workflow grabbed the users from the group and created a collection to loop through, setting permissions for the selected user. We are using ShareGate Desktop to migrate the workflows. The web service actions used to get the users from the groups is no longer supported.

 

Can anyone explain how I can set the permissions of a group of users individually? I have been scouring but unable to find anything related except a dead-end link. Thanks in advance!

 

 

For anyone looking for a way to do this in the future: rebuilt the workflow with the new web request actions and REST API (https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-rest-reference/dn531432(v=office.15)#group-properties) and saved this into a dictionary, then looped through setting a dictionary variable to the value of the current dictionary item to extract the email address and use this to set permissions on the file.



 



Had a bit of a trip up with permissions - make sure the group is set to read to everyone otherwise you won't get any results from the API call.


Reply