Skip to main content
Nintex Community Menu Bar

Get Initiating User?

  • April 16, 2009
  • 4 replies
  • 13 views

Forum|alt.badge.img+4

Greetings all.

I have an InfoPath form-started process.  I am wondering, is there an easy way to capture automatically who it was that started the process (filled out the form)?  The form is published as a SharePoint form library, and users would need to therefore be authenticated already to have access to it.

I'm wondering is there a nice and easy way to capture the Active Directory user who submitted the form and perhaps capture it into XML data of the InfoPath form itself?  Then I could easily make rules based on that data in the blackpearl process.

Thanks...

4 replies

Forum|alt.badge.img+4
  • April 16, 2009

Hi,


From your 'Workflow Context Browser' in the 'K2 Object browser' you can find the 'Originator' node under 'Process Instances'. This holds the information of each user who has started the process.


hope this helps,


Forum|alt.badge.img+4
  • Author
  • April 16, 2009
Thanks for the pointer.

Forum|alt.badge.img+1
  • April 16, 2009

Check out this blog.  Works a treat and gives you access to a whole bunch of other stuff about the user.


 http://kwizcom.blogspot.com/2007/11/importing-data-from-ad-to-infopath-2007.html


Forum|alt.badge.img+5
  • April 17, 2009
If all you really need is the user ID of the submitter, then the userName() function that is built in with InfoPath will do just fine.  On your submit rule just make an action that sets a field's value to userName()