I am creating an employee of the month type feature in Visual Studio.
This involves a nominations list (where users can submit a nomination) and a custom task list (based on workflow tasks)
In a nomination, a "Line Manager" is entered, and is set up as a Person Column. In code, I create a task, and I am trying to assign the task to the line manager. The code I have is:
taskProperties.AssignedTo = workflowProperties.Item[
This does return the name of the nominator (but with a prefix, usually #795; (or something like that)).
How can I assign a task in code to a user based on the selection of a Person field (chosen using People Picker)?
Andrew Berry - Software analyst/Developer
View Complete Post