Adding New Users with Resource Update node

 6 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
KerriR
Advanced Member Send Private Message
Posts: 34
Advanced Member
I am trying to add new users in a flow using the Resource Update node. It keeps failing with the return message of "Unable to store USERNAME object, creation failed. Original Exception: Could not create object of type People".

I'm not sure what the problem is. I can add users using the security administrators piece without any issues.

Gary Padgett
Veteran Member Send Private Message
Posts: 90
Veteran Member
Maybe it has something to do with who the default processflow user is. Who is the userid for that workunit? Is that userid a security administrator?
KerriR
Advanced Member Send Private Message
Posts: 34
Advanced Member
I log in with my userid and I am a security admin
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
Are you reading from a file? Is the UserName value formatted correctly (number of characters, etc.)?
David Williams
KerriR
Advanced Member Send Private Message
Posts: 34
Advanced Member
I am creating the USERNAME from values read from a file by concatenating and substringing. The error message does show the correct UserName in it (I just used USERNAME in my message above).
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
If you send me your file and flow I'd be happy to look it over for you.
David Williams
KerriR
Advanced Member Send Private Message
Posts: 34
Advanced Member
Thanks for the offer David but this is resolved now. It appears even though Name is an optional attribute, if you use a variable to populate it, that variable must have a value. The variable I was using did not have a value assigned to it during my test. When I added a value, the add worked.