Sharepoint Workflow and the System.ArgumentNullException when referenceing the WorkflowProperties

I have been building Sharepoint Custom workflows this year and came across a nasty problem when I tried to reference the workflowProperties field in the onWorkflowActivated activity. I kept on getting a System.ArgumentNullException. The problem was actually a simple one to fix. I had not set the onWorkflowActivated property correctly to use the workflowProperties field. By the default when you replace this activity, it does not highlight that the workflowProperties need to be set to a field or property in your workflow.

Comments
bRADLEY's Gravatar So how did u fix it ....
# Posted By bRADLEY | 11/15/07 2:19 AM
David Fekke's Gravatar In the properties for the activity I set the worflowProperties to this field.
# Posted By David Fekke | 11/15/07 9:11 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.001.