0% found this document useful (0 votes)
24 views7 pages

Workflow Manager

The document describes the Workflow Manager tool in PowerCenter, which allows users to define workflows to execute mappings built in the Designer. A workflow contains a series of tasks connected by links to specify the order of execution. Common tasks include sessions to run mappings, email notifications, and scheduling. Worklets can also be created to group tasks and be run as part of a workflow. The Workflow Manager provides tools to develop workflows using the Task Developer, Workflow Designer, and Worklet Designer. Various reusable task types can be created like sessions, email, commands, decisions. After creating a workflow, it is run and monitored using the Workflow Manager and Monitor.

Uploaded by

pankaj1986pank
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views7 pages

Workflow Manager

The document describes the Workflow Manager tool in PowerCenter, which allows users to define workflows to execute mappings built in the Designer. A workflow contains a series of tasks connected by links to specify the order of execution. Common tasks include sessions to run mappings, email notifications, and scheduling. Worklets can also be created to group tasks and be run as part of a workflow. The Workflow Manager provides tools to develop workflows using the Task Developer, Workflow Designer, and Worklet Designer. Various reusable task types can be created like sessions, email, commands, decisions. After creating a workflow, it is run and monitored using the Workflow Manager and Monitor.

Uploaded by

pankaj1986pank
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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 No Assigns a value to a workflow variable.


Designer
Worklet Designer
Command Task Developer Yes Specifies shell commands to run during the
Workflow workflow. You can choose to run the Command
Designer task if the previous task in the workflow
Worklet Designer completes.
Control Workflow No Stops or aborts the workflow.
Designer
Worklet Designer
Decision Workflow No Specifies a condition to evaluate in the
Designer workflow. Use the Decision task to create
Worklet Designer branches in a workflow.
Email Task Developer Yes Sends email during the workflow.
Workflow
Task Name Tool Reusable Description

Designer
Worklet Designer
Event-Raise Workflow No Represents the location of a user-defined
Designer event. The Event-Raise task triggers the user-
Worklet Designer defined event when the Integration Service
runs the Event-Raise task.
Event-Wait Workflow No Waits for a user-defined or a predefined event
Designer to occur. Once the event occurs, the
Worklet Designer Integration Service completes the rest of the
workflow.
Session Task Developer Yes Set of instructions to run a mapping.
Workflow
Designer
Worklet Designer
Timer Workflow No Waits for a specified period of time to run the
Designer next task.
Worklet Designer

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.

Creating a Workflow
Workflows Overview
A workflow is a set of instructions that tells the Integration Service how to run tasks such as sessions, email
notifications, and shell commands. After you create tasks in the Task Developer and Workflow Designer, we
connect the tasks with links to create a workflow.

In the Workflow Designer, we can specify conditional links and use workflow variables to create branches in
the workflow. The Workflow Manager also provides Event-Wait and Event-Raise tasks to control the
sequence of task execution in the workflow. You can also create worklets and nest them inside the workflow.

Every workflow contains a Start task, which represents the beginning of the workflow.

The following figure shows a sample workflow:

We can create workflows with branches to run tasks concurrently.

When we create a workflow, select an Integration Service to run the workflow. We can start the workflow
using the Workflow Manager, Workflow Monitor, or pmcmd.

We use the Workflow Monitor to see the progress of a workflow during its run. The Workflow Monitor can
also show the history of a workflow.

Use the following guidelines when you develop a workflow:


1. Create a workflow. Create a workflow in the Workflow Designer or by using the Workflow Generation
Wizard in the PowerCenter Designer.
2. Add tasks to the workflow. We can add tasks to the workflow as you develop the workflow in the
Workflow Designer.
3. Connect tasks with links. After you add tasks to the workflow, connect them with links to specify the
order of execution in the workflow.
4. Specify conditions for each link. You can specify conditions on the links to create branches and
dependencies.
5. Validate workflow. Validate the workflow in the Workflow Designer to identify errors.
6. Save workflow. When you save the workflow, the Workflow Manager validates the workflow and
updates the repository.
7. Run workflow. In the workflow properties, select an Integration Service to run the workflow. Run the
workflow from the Workflow Manager, Workflow Monitor, or pmcmd. You can monitor the workflow in the
Workflow Monitor.

Note:
 A workflow must contain a Start task. The Start task represents the beginning of a workflow. When
you create a workflow, the Workflow Designer creates a Start task and adds it to the workflow. You cannot
delete the Start task.
 After you create a workflow, you can add tasks to the workflow. The Workflow Manager includes
tasks such as the Session, Command, and Email tasks.
 Finally, you connect workflow tasks with links to specify the order of execution in the workflow. You
can add conditions to links.

Creating a Sample Workflow:


1. Open you Workflow Manager and Connect your Repository.
2. Connect and Open the folder if not already opened.
3. From Menu, Click Tools --> Workflow Designer.
or

Click on Icon Workflow Designer just above the workspace.

4. From Menu select 'Workflows' --> Create

5. It will pop up 'create workflow' window.

General Tab: Entry the below information.


Name: wf_s_<workflowname>
Comments: description
Integration Service: <select service by clicking below highlighted icon>

Properties Tab:
Parameter Filename: specify the parameter filename with path.
Write Backward Compatible Workflow Log File: Check this if you do not want to use Log Service but
instead want to write the workflow log to a file
Workflow Log File Name: wf_s_<workflowname>.log
Workflow Log File Directory: $PMWorkflowLogDir\ (You can change it if required)
Save Workflow log by: timestamp or by number of runs (optional)
Save workflow log for these runs: Specify the number of runs of the workflow log to save.
($PMWorkflowLogCount can also be used).
Enable HA recovery: Store workflow state in the persistent storage so that workflow recovery and failover
are possible beyond the current run of the workflow or the service.

You might also like