cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
stempb
Nintex Newbie

Creating item as another person in a workflow?

I have a flexitask in a workflow.    After the user answers the task, I want an item to be created in the name of the person that answered the task and not in the name of me, the workflow creator or in the name of the person that started the workflow.  I can get the name of the user answering the task.   That isn't the problem.   What IO need to do is be able to create an item as them.

 

Is there any way to create the item in the name of someone else in a workflow?   I could use JavaScript on the flexitask form but want to avoid that.

0 Kudos
Reply
4 Replies
shrinivasnaik
Nintex Newbie

Re: Creating item as another person in a workflow?

HI Bruce,

I doubt there is a simplistic way in Nintex to achieve this as when you create an Item SP by default would populate the "createdBy" field. There is an action set called as "Action" in Nintex and anything run within it can be configured to run as the person who published the workflow rather than the user who is running it, but again it wont serve your purpose.

You can create another column in your list called as "owner" or something and then populate your user in this column and make the business aware that this would be the column who would be "createdby" and your regular createdby field can be populated as the system account (or the account that published the workflow)

Regards,

Shrini

0 Kudos
Reply
stempb
Nintex Newbie

Re: Creating item as another person in a workflow?

Thanks yes I realize I can create my own "create by" field but I need to deal with legacy items so  that solution won't work for me.    Or at least not easily.    I guess I will need to use JavaScript but I will need to figure out how to execute only if valid.   I will create another post.

0 Kudos
Reply
adamtobia5
Nintex Newbie

Re: Creating item as another person in a workflow?

Hi Bruce Stemplewski‌,

The only option that comes to mind at this time, is wrapping your workflow actions in a action set workflow action. Then you can configure the action set for impersonation. However, if I'm not mistaken, it will impersonate and log the wrapped action as the workflow creator. I don't think you can specify whom you can impersonate.

0 Kudos
Reply
stempb
Nintex Newbie

Re: Creating item as another person in a workflow?

It will.  I solved the issue (reluctantly) with JavaScript.

0 Kudos
Reply