Friday, July 15, 2011

Understanding WorkFlows

2 Types:

  1. Sequential: has predictable paths of execution
  2. State Machine: has many possible ways of execution as it includes conditions such as While, IfElse, Replicator etc.
When we create custom workflows, we get 5 files in our project:
  1. feature.xml - Contains the definition of the feature that will eventually deploy the WF in the server
  2. workflow.xml - defines the WF
  3. install.bat - contains command line instructions to copy the files to TEMPLATE folder and has stsadm commands to install the WF.
  4. workflow.cs - inherits the base class SequentialWorkflowActivity
  5. workflow.designer.cs


No comments:

Post a Comment