MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

SP2007 - VS Workflow

  Date: Oct 13, 2011      Category: MOSS      Views: 70
 

I have a Visual Studio sequential workflow associated with a SP2007 list. In the
code activity, how do I reference list field values. When I google things like
"access sharepoint list fields from vs workflow" it returns results on how to
connect Access DB and SP workflow. Not what I want!

Tagged:      

 

2 Answers Found

 
Answer #1       Answered On: Oct 13, 2011       

As I remember the workflow properties contains a reference to the list item
that the workflow is running on. You can then reference the fields of the
list item from that object.

 
Answer #2       Answered On: Oct 13, 2011       

You can try workflowProperties.List[fieldName].
or workflowproperties.list.fields or workflowProperties.ListItem[fieldname].

 
Didn't find what you were looking for? Find more on SP2007 - VS Workflow Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].