I'm creating a custom workflow on SharePoint Online (Office 365) in SharePoint Designer. I am trying to achieve below tasks:
- This workflow will execute on a SharePoint list, triggered when a new item is created or an existing item is modified.
- The first action of the workflow will be to set unique permissions on the current list item: remove permissions inheritance, and add Contributor access for a specific SharePoint security group, and add Full Control for another SharePoint security group
How can this be done?