Setting Initiator In CommentsHow do I set the initiator in the comments of a custom workflow (built in VS 2008)? <div><br/></div> <div>I can set other items with the Executor property but the Initiation of the workflow is always set to &quot;System&quot;.</div>© 2009 Microsoft Corporation. All rights reserved.Fri, 10 Jul 2009 10:42:25 Z7732c35f-c351-4647-a81c-74dc624aff42http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#7732c35f-c351-4647-a81c-74dc624aff42http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#7732c35f-c351-4647-a81c-74dc624aff42wexfordhttp://social.msdn.microsoft.com/Profile/en-US/?user=wexfordSetting Initiator In CommentsHow do I set the initiator in the comments of a custom workflow (built in VS 2008)? <div><br/></div> <div>I can set other items with the Executor property but the Initiation of the workflow is always set to &quot;System&quot;.</div>Thu, 02 Jul 2009 14:44:34 Z2009-07-02T14:45:14Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#bd562fc6-e8e8-4ec7-b9c5-1ffa96d60ab7http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#bd562fc6-e8e8-4ec7-b9c5-1ffa96d60ab7David Mann [MVP]http://social.msdn.microsoft.com/Profile/en-US/?user=David%20Mann%20%5bMVP%5dSetting Initiator In CommentsVS Wfs always run as SYSTEM.  You can do impersonation or RunWithElevatedPrivileges in code if you need to.Thu, 02 Jul 2009 21:19:22 Z2009-07-02T21:19:22Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#c50aea28-3f48-4fd8-8eeb-f959b13a4b03http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/7732c35f-c351-4647-a81c-74dc624aff42#c50aea28-3f48-4fd8-8eeb-f959b13a4b03wexfordhttp://social.msdn.microsoft.com/Profile/en-US/?user=wexfordSetting Initiator In CommentsDavid thank you for replying.<br/> <br/> Do you have an example?<br/> <br/> In other parts of the workflow I can set the User ID in the Workflow history (e.g. updating an assigned Task) to be a user name other than System but for the Initiation of the workflow there seems to be no way to set the User ID.Mon, 06 Jul 2009 09:39:05 Z2009-07-06T09:39:05Z