Shen Yizhe

Hi guys

I'm currently working on Sharepoint 2007 and I am developing a workflow that will kicks in when a new document is uploaded in the library. What I wish to achieve is for me to:

- Check the document to see if it is in the right format (I've developed a custom api that allow me to perform the check and return a bool value).

- If the bool value is true (doc check successful), the doc will be uploaded into the library as per normal.

-If the bool value is false (doc failed the check), the doc will not be uploaded into the library and a new task is created to request for a new upload

I am wondering if workflow can achieve this task. And if there's any way I can find codes /sample where I can add task.. I kept getting workflow error message which is not helping me at all. I havn't seen any good resource where they talk about dev. sharepoint workflow using VS2005 and good docs on the api. Please point me to the right direction if you know any.

Thanks in advance!

Merry Christmas.




Re: Windows Workflow Foundation Checking Document Format in workflow and deleting file in library if format fails. HELP :(

ElifOn - MSFT

I believe we dont have any SharePoint samples or HowTos for workflow. While i was playing with the designer i saw when you are creating a workflow step there are Conditions and Actions where you can set the condition to check "If filetype equals sth". I havent done it myself so i am just braindumping what i have seen so far. My question is what is the error message that you are seeing

Thanks

Elif






Re: Windows Workflow Foundation Checking Document Format in workflow and deleting file in library if format fails. HELP :(

Shen Yizhe

Hi!

Thanks for the reply. The verification part require is not only on content-type but more complex checking (we function for it), and that's the reason why I need more 'control' over the flow which designer doesn't provide me with.

Is there any place I can look to find resources on how to code workflow using VS2005

Thanks a lot.






Re: Windows Workflow Foundation Checking Document Format in workflow and deleting file in library if format fails. HELP :(

ElifOn - MSFT

After you download Visual Studio Extensions for Windows Workflwo Foundation , check out the Visual Studio Help document and in that document there is a tab dedicated to using Visual Studio for Windows Workflow Foundation.

Hope this helps

Thanks

Elif






Re: Windows Workflow Foundation Checking Document Format in workflow and deleting file in library if format fails. HELP :(

Tom Lake - MSFT

Please ask questions specific to SharePoint's implementation of Window Workflow Foundation at http://www.microsoft.com/office/community/en-us/FlyoutOverview.mspx#15.