Tuesday, June 11, 2013

Workflow Manager

Overview:
In the Workflow Manager, we define a set of instructions called a workflow to execute mappings we build in the Designer. Generally, a workflow contains a session and any other task we may want to perform when you run a session. Tasks can include a session, email notification, or scheduling information. You connect each task with links in the workflow.

We can also create a worklet in the Workflow Manager. A worklet is an object that groups a set of tasks. A worklet is similar to a workflow, but without scheduling information. You can run a batch of worklets inside a workflow.

After We create a workflow, We run the workflow in the Workflow Manager and monitor it in the Workflow Monitor.

Workflow Manager Tools

To create a workflow, we first create tasks such as a session, which contains the mapping you build in the Designer. We can then connect tasks with conditional links to specify the order of execution for the tasks we created. The Workflow Manager consists of three tools to help we develop a workflow:

  • Task Developer. Use the Task Developer to create tasks you want to run in the workflow.
  • Workflow Designer. Use the Workflow Designer to create a workflow by connecting tasks with links. We can also create tasks in the Workflow Designer as we develop the workflow.
  • Worklet Designer. Use the Worklet Designer to create a worklet.

Workflow Tasks
We can create the following types of tasks in the Workflow Manager:

  • Assignment. Assigns a value to a workflow variable.
  • Command. Specifies a shell command to run during the workflow.
  • Control. Stops or aborts the workflow.
  • Decision. Specifies a condition to evaluate.
  • Email. Sends email during the workflow.
  • Event-Raise. Notifies the Event-Wait task that an event has occurred.
  • Event-Wait. Waits for an event to occur before executing the next task.
  • Session. Runs a mapping you create in the Designer.
  • Timer. Waits for a timed event to trigger.


To run any Task, Session, Worklet are Workflow we need a Integration Service.

Tasks Overview
You can create reusable tasks in the Task Developer. Or, create and add tasks in the Workflow or Worklet Designer as you develop the workflow.

The following table summarizes workflow tasks available in Workflow Manager:
Task Name
Tool
Reusable
Description
Assignment
Workflow Designer 
Worklet Designer
No
Assigns a value to a workflow variable.
Command
Task Developer
Workflow Designer 
Worklet Designer
Yes
Specifies shell commands to run during the workflow. You can choose to run the Command task if the previous task in the workflow completes.
Control
Workflow Designer 
Worklet Designer
No
Stops or aborts the workflow.
Decision
Workflow Designer 
Worklet Designer
No
Specifies a condition to evaluate in the workflow. Use the Decision task to create branches in a workflow.
Email
Task Developer
Workflow Designer 
Worklet Designer
Yes
Sends email during the workflow.
Event-Raise
Workflow Designer 
Worklet Designer
No
Represents the location of a user-defined event. The Event-Raise task triggers the user-defined event when the Integration Service runs the Event-Raise task.
Event-Wait
Workflow Designer 
Worklet Designer
No
Waits for a user-defined or a predefined event to occur. Once the event occurs, the Integration Service completes the rest of the workflow.
Session
Task Developer
Workflow Designer 
Worklet Designer
Yes
Set of instructions to run a mapping.
Timer
Workflow Designer 
Worklet Designer
No
Waits for a specified period of time to run the next task.

The Workflow Manager validates tasks attributes and links. If a task is invalid, the workflow becomes invalid. Workflows containing invalid sessions may still be valid.

Below is the Integration Service Folder structure.

3 comments: