Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have created a state machine workflow on a SharePoint document library using visual studio 2010. The requirement of the project is, at the time workflow initiate it will send mail to the approvers to whom the task is assign. All the approvers email id and details is saved in a separate list. So I have added a method, findApprover() into create task Method invoking which returns the email ids of the approvers. I have tested it using the break point. Now my problem, once the break point comes to create task method invoking, it is excepting the file upload to document library by the user. Once I select the document and click OK button, the code is excepting the filter should work before it send mail to the approvers, but by that time user didn't select the filter. So my WorkflowProperties.item[ "<my column name>"] code returns null.
As per my understanding, I need to capture the event of the save button, in which user click after choosing the filter. Can anyone let me know what is the name of the save button which will change the properties of the list.

This is very urgent, any help is appreciable.

Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900