Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. CurrentItem["Stakeholders"] = usercollection; //Type: SPFieldUserValueCollection
  2. workflowProperties.Item.SystemUpdate(false); //Exception here
  3. //workflowProperties.Item.Update(); //Exception here
  4.  
  5.  
  6. //CurrentItem Definition
  7. private SPListItem CurrentItem
  8. {
  9. get
  10. {
  11. SPList list = workflowProperties.Web.Lists[workflowProperties.ListId];
  12. SPListItem li = list.GetItemById(workflowProperties.ItemId);
  13. return li;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement