Main step to utilize WF in your any .net application are as follows.
Step 1. Create a workflow using standard activity or custom activity with help of workflow designer.
Step 2. Create a workflow runtime instance in any desire host application to run workflow inside your desire application like window application, console application, asp.net application, window service.
Workflow
workflow is the organize bunch of units called activity. which create the work model to resemble real word process. In other sense workflow is description of order of activity execution and relationship dependency of activity.
Mainly two type of workflow supported by .net framwork.
- Sequential Workflows
- State Machine Workflows
Sequential Workflow
It is rigid flow which contain loop and branches with condition and path through the workflow is deterministic.
State Machine Workflows
State machine workflows is composition of set of states, transitions, and actions. It is more event driven workflow. It wait for an event and trigger to change the new state. there are many a ready made Activities given in Visual Studio
No comments:
Post a Comment