How to get the context item in Workflow activity (SharePoint)

后端 未结 6 1745
萌比男神i
萌比男神i 2021-02-20 06:56

I am writing custom activity for sharepoint workflow and I don\'t know how I can use current workflow item, SPWeb or SPSite.

I see http://blogs.microsoft.co.il/blogs/dav

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-20 07:38

    I don't know if this is too easy, but I used:

    objCurrentItem = workflowProperties.Item
    

    to get the item within the workflow (a list) and then to alter the items in the list

提交回复
热议问题