I would like to pass a site collection in read only mode. I try with "Decommission Site Collection" activity but I haven't the option : "read only"
So I tried to create an UDA in the central administration with the same action and use it in my original workflow but I received an access denied.
Could you explain me the right method to do it please ?
Solved! Go to Solution.
There's a UDA to execute powershell (List of Nintex Workflows Custom Actions - Part 2 ), where you could run the command Set-SPSite -Identity "<SiteCollection>" -LockState "<State>".
See usage on >>> Lock or unlock site collections (SharePoint Foundation 2010)