index > Windows Workflow Foundation > WWF Scenario using ASP.NET

WWF Scenario using ASP.NET

Hi,

I want to implement a WorkFlow in ASP.NET using Windows Workflow Foundation.

I have a Web Form where user 1 fills in the form and submits it.

This form and the saved data is then sent to user 1's boss who reviews the data and submits the Web Form to his boss and so on and on until it goes to the top of the Organisation where it is finally approved or rejected.

Each time the form is subnitted an email is sent to the next person on the Organisation hierarchy letting them know that the Web Form is awaiting their approval.

2 Questions:
1) Can I use Windows Worflow Foundation in conjunction with ASP.NET. Alot of examples I see use WinForms
2) In relation to my Business Process Scenario can I implement above using ASP.NET and Windows Workflow foundation. Any pointers on how to do this would be much appreciated. Am 1 hour new to Windows Workflow Foundation.

Thanks in Advance.




CG
NuTech

Yes you can use WF with ASP.NET. You can check out Tom Lakes blog [1] for some examples.

For your process, look at using the ActiveDirectoryRoleFactory and ActiveDirectoryRole to do your lookups in AD for the manager. I'd wrap these up in a custom activity GetManager perhaps.

[1] http://blogs.msdn.com/tomlake/




See What You Can Learn -- http://www.pluralsight.com/courses/IntroducingWF.aspx
Matt Milner - Pluralsight
Thanks Matt.


CG
NuTech
reply 3

You can use google to search for other answers

 

More Articles

• Some error when I rebuilt ExpenseReporting sample project.
• Assign a different Item for each task in a task replicator
• How do you host WWF 3.0 as a webservice (instead of using ASP.NET...
• WorkFlow Instance Does not Initialize
• (newbie) Can I insert a record on database to start a workflow?
• i can not open the link
• Replicator Nested inside While Loop
• Building custom activity
• WOTB (Way off Topic But..) What portal framework is the WWF site ...
• FileWatcher sample - Compilation error with .NET 3.0
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Using WebService Activities in a Composi
• Beta2: BatchEnvironment.CurrentInstanceId
• Sample Problems On Building - Actiivity
• How two hosts can communicate through wo
• About the Workflow Designer in the lab 10.
• Workflow implementation in ASP.Net
• Workflow Change
• Rc2
• Object reference not set to an instance
• State Machine Exception Handling
• WWF Beta 1.2 not installing properly
• [CorrelationProvider]
• Installing July CTP under Windows Server
• Problem generating default childs on cus
• WorkflowChanges : Problems with subseque

Hot Articles

• Custom Correlation
• Please Answer this question
• Dataset not getting filled with newly ad
• Events exposed through Activity class
• How to iterate over the states in a WWF
• Parallel Activity issue in Sequence Work
• Unable to degug workflow
• SqlWorkflowPersistenceService exception
• Chainig Workflows Synchronously: InvokeW
• How to implement a PersistActivity or re
• Issue with web server and SQL Persistenc
• State machine workflow with xoml file
• Capturing correct output parameters
• Tutorial
• using External Service with the Custom A

Recommend Articles

• help desk sample application
• Painting activity with WPF?
• the WorkFlow project wizard is gone!wher
• Forecast workflow behavior
• About "Presenting Windows Workflow
• winforms...
• State Machine SQL Tracking DB: How to fi
• tool generated Vs hand coded workflow
• Creating a Custom StateInitializationAct
• Passing output parameters to the host?
• Workflow collaboration
• a state delay in a stae workflow machine
• Need Help! Prob in Passing ArrayList to
• Aborting execution inside sequence
• Workflow desginer Not accesible