Skip to main content
Search Again

We think these articles could help you:

    See More
    Nintex Knowledge Base

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

    Status: Validated

    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