WWF Interview Questions and Answers - 1

Question: 1

What is a workflow?

A workflow is a collection of actions (called activities) that presents the model of a process.

A workflow provides a way to describe the order of the execution of a long running process and relationships between different activities.

Multiple instances of a workflow may be active at any given moments in an application.

Question: 2

What are the components of WF 4.0?

WF consists of several components that work together to create a desired workflow. The components of WF are given as follows:

Workflows and activities

Base activity library

Custom activities

Host process

Activity data model

Runtime engine

Runtime services

Question: 3

Which option do you need to select for the condition property, if you want to create a code condition?

You can select the Code Condition option to create a code condition.

Question: 4

What is an activity?

In Windows Workflow Foundation 4.0, an activity is the basic unit of composition and execution of a workflow.

Each activity in a workflow consists of its own variables and arguments and is a subclass of the Activity class.

These activities provide facilities for flow control, exception handling, data persistency, loading or unloading workflows, tracking, and transaction flow.

Question: 5

Explain Custom Activities?

In addition to the standard activities available within the base activity library, you can create new activities to meet specific business needs.

Creating custom activities may be required to support a particular application that you want to integrate with WF.

Custom activities are generally created through attributes and inheritance.

You can create two types of custom activities, base and composite.

You can create basic custom activity by inheriting the Activity class and custom composite activity by inheriting the Composite Activity class or a derived type.

Related Questions