cancel
Showing results for 
Search instead for 
Did you mean: 

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

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
Version history
Revision #:
1 of 1
Last update:
‎11-20-2018 10:15 AM
Updated by: