Error "Invalid data has been used to update the list item. The field you are trying to update may be read only."

Document created by butlerj Support on Nov 20, 2018
Version 1Show Document
  • View in full screen mode
ISSUE
When using the Create Item action to create a Document Set with a people picker field, the following error might occur:

Failed to create item. Invalid data has been used to update the list item. The field you are trying to update may be read only. 
ERROR CODE
RESOLUTION
  1. Create a single line of text variable named txtUserName.
  2. Add a Regular Expression action to replace i:0#.w[|] from the user with nothing and store in txtUserName.
  3. Use a build string action to add -1;# to the beginning of txtUserName and store in txtUserName.
  4. Log the variable to ensure formatting is correct.
  5. Assign txtUserName to the people field when creating the document set.
ADDITIONAL INFORMATION
RELATED LINKS

Attachments

    Outcomes