aravindmp
Novice

How to update a People Picker field using Nintex workflow ?

Jump to solution

Hi  ,

I am trying to create a new item in another list based on the values from my current item . There is a people picker field in my list which i am copying to the new list.

The return type i get are options for string, login name,user id and using any of them does not work properly . I get the below error "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".

Can anyone let me know which is the correct way of creating a people picker field item based on the values we have from current item ?

Reply
18 Replies
melissac
Rookie

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hello Aravind,

As a quick work around you can "Set a Variable" you can have a Variable txt_ContactOwner (as a single line of Text) and set it to the People Picker from your list  Contact Owner.

I often Have to do it this way.

Hope this helps a bit.

Reply
aravindmp
Novice

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Still I am facing the same error Melissa Castillo​!  I saved it to a variable and was able to print out (loginname,id etc) and it throws the same error when trying to save it to the People picker field.

Reply
aravindmp
Novice

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Thanks Melissa! I tried your method but before that I guess I had some issues with the People Field Site Column. I republished my content type and it started working.

Reply
melissac
Rookie

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

aravind mp

When you place the variable in a "log History" Action are you getting the correct result?

Have you tried adding a update item to update your Contact Owner with the Variable?

Reply
kelliganp
Scholar

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hi aravind mp​,

Glad you got it working. Be sure to mark Melissa's solution (or yours if you solved it yourself) as "Answered". It helps folks like me find your content in the future so we do not have to post the question again.

Reply
kmcollins
Novice

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hi,

Did you manage to solve this? As I'm having the same problem. I have tried Melissa Castillo​'s solution above and am receiving the same error message.

When you set the variable to txt_Person, are you supposed to use a particular option (display name/email address/log in name)?

Katherine

Reply
melissac
Rookie

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hi Katherine Collins​,

Try setting the txt_Person to Display Name and capture it in a history log and see that you get.

Hope that helps

Melissa

Reply
kmcollins
Novice

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hi Melissa Castillo​,

Thanks for the suggestion, I'm getting the user's name printed in the log history, but still receiving the error. Would it be better if I used an update action rather than a create action?

Thanks,

Katherine

Reply
xMikeX
Scholar

Re: How to update a People Picker field using Nintex workflow ?

Jump to solution

Hello,

The two actions will yield very different results.  Update should be used to update an existing item so you'll need to know the item you wish to target.  Create will simply create a new item from scratch.

Thanks,

Mike

Reply