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

后端 未结 6 1747
萌比男神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:44

    Take a look at the SPWorkflowActivationProperties.Item Property

    Gets the list item on which the workflow instance is running.

提交回复
热议问题