This blog will cover Flow Activities
Flow | Execution | Events | Web Services | State |
---|---|---|---|---|
IfElse | TransactionScope | EventDriven | WebServiceInput | SetState |
While | Sequence | Listen | WebServiceOutput | State |
CAG | Compensate | HandleExternalEvent | WebServiceFault | StateInitialization |
Policy | SynchronizationScope | EventHandlingScope | InvokeWebService | StateFinalization |
Replicator | Code | Delay | ||
Throw | Parallel | |||
Suspend | InvokeWorkflow | |||
Terminate | CallExternalMethod | |||
FaultHandler | CompensatableSequence | |||
CompensatableTransactionScope |
IfElseActivity : Contains an ordered set of IfElseBranchActivity classes. Runs the first branch when the condition evaluates to true. The final branch is not required to have a condition, in which case it always evaluates to true.
WhileActivity : Runs a child activity iteratively as long as a certain condition is true.
ConditionedActivityGroup : Runs and re-executes child activities based on the evaluation of their when conditions. All rules are evaluated whenever required based on their data and state change dependencies. When the completion rule of the ConditionedActivityGroup evaluates to true, it immediately cancels any currently executing child activities and finishes.
PolicyActivity : Represents a collection of Rule class instances to be run as part of a workflow's execution as a single step/activity.
ReplicatorActivity : similar to a For Each statement in code. By default, a ReplicatorActivity is completed when all child instances have completed. You can override this behavior with a custom condition to use when the activity finishes. If this condition evaluates to true before all child instances have completed, then any running incomplete child instances will be canceled.
Throw : Raises exceptions declaratively, usually in response to exceptional conditions detected in a workflow.
Suspend : Stops the execution of the current workflow
Terminate : Immediately end all activities of a running workflow instance.
FaultHandler : It is a wrapper for other activities that perform the work that is done when the specified exception occurs.
References: http://msdn2.microsoft.com/en-us/library/ms733615.aspx
No comments:
Post a Comment