Understand Informatica PowerCenter Workflow Manager
In the Workflow Manager, you define a set of instructions called a workflow to execute mappings you build in the Designer. Generally, a workflow contains a session and any other task you may want to perform when you run a workflow. Tasks can include a session, email notification, or scheduling information. You connect each task with links in the workflow. You 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.
Lets understand more about the tool by developing our first Workflow and lets do the following.
- Create database connections for sources and targets
- Learn how to use Workflow Manager.
- Create a simple Workflow
- Create a session task and start task
- Link tasks
I. Create Relational Connection
- Select START | PROGRAMS | INFORMATICA POWERCENTER CLIENT | WORKFLOW MANAGER.
- Connect to the repository using your user id and password.
- Locate the project folder and open it.
- Select CONNECTIONS | RELATIONAL.
- Select the database type from the dropdown and click on New.
- In the Connection Object Definition box, enter the name db_src_x, username, password and connection string to connect to the source database.
- To create a target database connection, repeat steps 1 and 2 and in the Connection Object Definition box, enter the name db_tgt_x, username, password and connection string to connect to the target database db_tgt_x.
- Click CLOSE to close the Relational connection Browser.
II. Create a Workflow
- Switch to Workflow Designer. You can open the Workflow Designer.
- Select TOOLS | WORKFLOW DESIGNER or
- Click on the highlighted button as shown below.
- Select WORKFLOWS | CREATE.
- Click on the OK button. The Start Task is added to each new workflow by default.
- Select Repository | Save or Ctrl-S to save.
III. Edit the Start Task
- Double Click on the Start task.
- Click the Rename button.
- Type Start_Employee_Name_x in the Rename Task dialog box.
- Click the OK button to save the name.
- Click the OK button to return to the Workflow Designer workspace.
IV. Create a Session Task
- Click on TASKS | CREATE. In the Create task dialog box enter a name for the task as S_Employee_Name_x.
- Associate a mapping with the task. The mapping is M_Employee_Name_x, which you just created.
- Click on OK in Mappings dialog box and Done in Create Task Dialog box.
- A Session Task appears in the Workspace. Select REPOSITORY |SAVE or Ctrl-S to save.
V. Edit Session Task
- Double-click on the S_Employee_Name_x Session Task in the Workspace and click on the Mapping tab.
- Under the Sources folder, click on the down arrow to open the Relational Connection Browser as shown in the figure below.
- In the Relational Connection Browser, select the database type from the dropdown and select the source database connection just created, from the Objects box.
- Similarly click on the Targets folder, click on the down arrow and repeat step 3 to select the target database connection. The Edit Tasks should finally look like the figure shown below.
- Under Properties, Select Normal for the Target load type.
- Click OK to close the Edit Tasks dialog box.
- Select REPOSITORY | SAVE.
VI. Link Workflow Tasks
- Locate the Link icon on the right side of the Task Toolbar .
- Link the Start_Employee_Name and the S_Employee_Name_x tasks.
- Toggle off the ‘link mode’ by clicking again on the Link icon or single click on one of the objects.
- Save changes to the repository.
- Select WORKFLOW | VALIDATE to validate the workflow.
- Locate the save tab in the Output Window at the bottom of the Workflow Manager and view the results of the validation checks.
- If there are any errors fix them and perform the WORKFLOW | VALIDATE command from the main menu. The results will be located in the Output Window’s Validate tab.
- Repeat the process until the Workflow is valid.
In this demonstration video tutorial we will see how the Workflow is created.
Hope you enjoy this tutorial, Please let us know if you have any difficulties in trying out these exercise.