I'm trying to solve of giving permissions problem and I wonder if I can do that using SP designer and not an event receiver.
I have two lists, The list "A" that has two fields:"Title" and a "user" field where you can put SP groups. The list B has a description and a multi-select lookupfield to list lookup.
The request is that when a user creates an item in list B (and selects value from the lookup field in list A), the workflow will give permissions to the item, only on SP groups in user field.
I'm missing how to deal with multi-select field. I mean, what do I have to make iterations on the lookup field and set the permissions.
According to your post, my understanding is that you wanted to set permissions based on lookup fields.
To use the lookup column in the workflow, you can refer to:
Working with Lookup Columns in Workflows
If you want to use "Replace list item permissions" action when you use SharePoint 2013 workflow platform, you need to use the workflow interop bridge to achieve it.
Here are some articles about this you can take a look.
Workflow actions available using the workflow interop bridge
Use workflow interop for SharePoint 2013
SharePoint 2010 - Configuring List Item Permissions
However, if you use workflow in App, you need to use Rest API to set item permissions.
SharePoint 2013 REST API – How to set Unique Permissions (Item Level Permissions)
TechNet Community Support
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?