views:

23

answers:

2

I've been told that I need to reference the SPWorkflow ParentItem. I'm not sure on the syntax though. Can anyone help?

A: 

If you're inside the workflow itself then your workflow will have a "workflowProperties" object and will be of the type referenced in zincorp's answer.

You'll need to get its .List property or .ListUrl or even .ListId and then you'll be able to get at the SPList.

Famous Nerd