1

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?

3
  • Can you please add any screenshot of the workflow action, how are you configuring the action? Also check the solutions given here (especially creating a string variable and then using it to assign the permissions) and let me know if this works. Commented Mar 12, 2020 at 13:31
  • I have done the variable as explained and now it works, any reason why it does not work directly with multiple people with the standard options? I do remember that when the action is 'send an email' it does work
    – susan
    Commented Mar 12, 2020 at 13:43
  • For "send an email" option, semicolon separated email addresses are required so it works. and for assigning permissions, I am not quite sure but maybe it is bug in action or it is designed in that way only. Commented Mar 12, 2020 at 13:57

1 Answer 1

1

Try following approach to replace item permissions:

  1. Set a STRING variable to the multiple selection people picker field, returning the field as a STRING.

  2. In an Impersonation Step, add the action to Add/replace item permissions and use the string variable you just created in above step.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.