SP workflow designer with imperrsonation step: replace item permissions - people picker
-
08-02-2021 - |
Question
SP online workflow 2010 template with impersonation step
The workflow reads a column value in the item that is entered by the user. People picker can be one or multiple values (it is mandatory)
When it is one person workflow works, when it is multiple people it throws error.
In the workflow I have tried all (as string, email addresses semicolon delimited, display names etc), it always gives error
how to make the workflow read the multiple people field?
Solution
Try following approach to replace item permissions:
Set a STRING variable to the multiple selection people picker field, returning the field as a STRING.
In an Impersonation Step, add the action to Add/replace item permissions and use the string variable you just created in above step.