Skip to main content

Workflow Manager Tool in Informatica




What is the Informatica Workflow Manager?

 

The Informatica Workflow Manager is a client tool that executes workflows for the mappings that have been developed in Designer.

 



Who uses the Informatica Workflow Manager?

 

Informatica Workflow Manager is used by system administrators and developers, alike.

 

Workflow Manager Terminology


Task Developer โ€“ Used to create and view sessions, commands, and emails executed in a workfow.
 
Worklet Designer โ€“ Used to create and view worklet
 
Workflow Designer โ€“ Used to create, view and schedule          workflows by connecting together tasks and worklets.
 
Task โ€“ A session, command or email used in workflows
 
Worklet โ€“ An object that groups sets of tasks.
 
Workflow โ€“ A set of instructions that tells the Integration Service how and when to run tasks such as sessions, email notifications, and shell commands.
 
Connection โ€“ An object that defines a connection in the repository. Connections can be databases, ftp sites or applications
 
source / $target โ€“ Parameterized source and target connections defined within a session, respectively. They are only set once per session.
 
Parameter File โ€“ A list of values read by the Integration Service during runtime.
 
Unoverride โ€“ A button used to revert back to an original value in a workflow or session.
 
Normal Load โ€“ A load that invokes database transactional logging. Default load for any session that contains an update transformation.
 
Bulk Load โ€“ A load that bypasses database transactional logging.
 
Full Load โ€“ An initial load of data from the source containing historic data.
 
Incremental Load โ€“ Subsequent loads that bring in new or modified data since the previous ETL process.
 
Assignment โ€“ assigns a value to a workflow variable,
 
Command โ€“ executes a shell command during the workflow.
 
Control โ€“ stops or aborts the workflow.
 
Decision โ€“ specifies a condition to evaluate.
 
Email โ€“ sends emails during workflow.
 
Event-wait โ€“ waits for an event to occur.
 
Event-raised โ€“ notifies the event wait task that an event has occurred.
 
Session โ€“ runs a mapping that has been created in Designer.
 
Timer โ€“ waits for a timed event to occur.



ยท 

 

Functions of Informatica Workflow Manager:

 

1. To define source and target connection information

 

2. To create tasks

 

3. To create workflows

 

4. To alert successes and failures

 

5. To override mapping level properties

 

To define source and target connection information:

 

1. Click on the โ€œConnectionsโ€ tab. Choose โ€œRelational...โ€ to create a database connection object.




 

2. Choose โ€œNewโ€ to create a new connection in the โ€œRelational Connection Browser.โ€

 

3. In the โ€œSelect Subtypeโ€ window, choose the database platform to which you are connecting.

 

4. Name your Connection. Enter your username, password, and connection string.

 





To create tasks:

 

1. Click on Task Developer tool.

 

2. Click on the โ€œTaskโ€ tab. Choose โ€œCreate...โ€ to create a new Task.

 



3. Choose โ€œSessionโ€ from the dropdown menu. Name your session and click โ€œCreate.โ€




 

4. Choose the mapping for your session from the popup menu. Click โ€œOK.โ€




 

5. Click โ€œDoneโ€ to create the task in the workspace.

 

6. Double-click on your session in the Task Developer workspace.


7. Click on the โ€œMappingโ€ tab.




 

8. Click on the icon in the Sources folder to open the designer mappingโ€™s source qualifier transformation.

 

9. Click on the icon under the โ€œConnectionsโ€ Value column and choose your source connection.



 

10. Click on the icon in the Targets folder to open the designer mappingโ€™s target table.

 

11. Click on the icon under the โ€œConnectionsโ€ Value column and choose your target connection.




 

12. Click on โ€œFiles, Directories, and Commandsโ€ in the left-hand column.

 

13. Under the โ€œParameter Filename,โ€ write โ€˜$PMSourceFileDir\โ€™ and the parameter filename.




 

14. Click โ€œOKโ€ to close the Session task.

 

 

To create workflows:

 

1. Click on the โ€œWorkflow Designerโ€ tool.

 

2. Click on the โ€œWorkflowโ€ tab at the top of the screen. Choose โ€œCreate...โ€ to create a new workflow.





3. Name the workflow and click โ€œOK.โ€

 

4. Drag and drop your session into the Workflow Designer workspace.




 

5. Connect the icon to the session using the task link tool.


 

To alert successes and failures:


 

1. Double-click on the session in the Workflow Designer workspace.

 

2. Under the โ€œGeneralโ€ tab, check box โ€˜Fail parent if this task failsโ€™ and โ€˜Fail parent if this task does not run.โ€™ Click โ€œOK.โ€

 



 

To override mapping level properties:

 

1.Click on the Task Developer tool.

 

2.Double-click on the session. Click on the โ€œMappingsโ€ tab.

 

3.Click on the source in the Source folder.

 

4.Scroll down and click in the โ€œValueโ€ column of the attribute that you would like to override in the Properties section.

 




5.Click on the icon to open the formula box. This is where you can override the mapping level property.


6.After entering your new formula, click โ€œOKโ€ to view the changes in the โ€œValuesโ€ column.



 


7.To revert your changes, click on the โ€œRevertโ€ button that appears in the โ€œUnoverrideโ€ column.

 

 

The BI Applications use SQL Query overrides to create unique full and incremental load sessions.

 

BI Applications and Workflow Manager

 

โ€ขOne Session per Workflow

 

โ€ขFull and Incremental Workflows

 

โ€ขConnections by Parameters

 

โ€ขParameter Files

 

One Session per Workflow

 

The Workflow Managerโ€™s flexibility allows for dynamic and complex workflow to be designed and executed. These workflows contain dozens of decision and event tasks to help guide the Integration Service through the execution order of sessions and worklets.

The downside of this approach is that development takes extreme care and may takes days or weeks to fine tune.

To our luck, the BI Applications take the guess work out of the execution plan development by providing a tool called the Data Administration Console a.k.a. DAC.





In order for DAC to build an execution order based on session (mapping) dependencies, there must be a one to one relationship between workflows and sessions.




 

Full and Incremental Workflows

 

To keep mapping maintenance at a minimum, the BI Applications created two sessions for each mapping, Full and Incremental. These session will be identical with the exception of the โ€œSql Overrideโ€.

 




Full Load Session:




 

Incremental Load Session:




 

Connections by Parameters

 

The sessionโ€™s source and target connections are managed by $DBConnection_OLTP and $DBConnection_OLAP parameters. Parameterized connection values allow connection objects referenced by the session to change without the need for modifying the connection objects.





 

Connection values passed via parameters must match the connections objects established in the โ€œConnectionsโ€ tab.

 



 

 

Parameter Files

 

Parameter values are read by the Integration Service and are passed down into session, mappings or mapplets. Parameter values are sourced from .txt files located on the Integration Serviceโ€™s โ€˜$PMSourceFileDir\โ€™ directory.

The parameter file name is specified in the sessionโ€™s โ€œPropertiesโ€ tab under the โ€œParameter Filenameโ€ attribute.




 

Sample Parameter file.




Comments

Popular posts from this blog

Contact Me

Do You have any queries ?                   If you are having any query or wishing to get any type of help related Datawarehouse, OBIEE, OBIA, OAC then please e-email on below. I will reply to your email within 24 hrs. If I didnโ€™t reply to you within 24 Hrs., Please be patience, I must be busy in some work. kashif7222@gmail.com

Top 100 Informatica Interview Questions

I have attended Informatica interview last week in wipro and couple of other companies, Question below I faced in those companies. 1. What are the main issues while working with flat files as source and as targets ? 2. Explain about Informatica server process that how it works relates to mapping variables? 3. write a query to retrieve the latest records from the table sorted by version(scd) 4. How do you handle two sessions in Informatica 5. which one is better performance wise joiner or look up 6. How to partition the Session? 7. How many types of sessions are there in informatica.please explain them. 8. Explain the pipeline partition with real time example? 9. Explain about cumulative Sum or moving sum? 10. CONVERT MULTIPLE ROWS TO SINGLE ROW (MULTIPLE COLUMNS) IN INFORMATICA 11. DEPLOYMENT GROUPS IN INFORMATICA 12. LOAD LAST N RECORDS OF FILE INTO TARGET TABLE - INFORMATICA 13. LOAD ALTERNATIVE RECORDS / ROWS INTO...

Top 130 SQL Interview Questions And Answers

1. Display the dept information from department table.   Select   *   from   dept; 2. Display the details of all employees   Select * from emp; 3. Display the name and job for all employees    Select ename ,job from emp; 4. Display name and salary for all employees.   Select ename   , sal   from emp;   5. Display employee number and total salary   for each employee. Select empno, sal+comm from emp; 6. Display employee name and annual salary for all employees.   Select empno,empname,12*sal+nvl(comm,0) annualsal from emp; 7. Display the names of all employees who are working in department number 10   Select ename from emp where deptno=10; 8. Display the names of all employees working as   clerks and drawing a salary more than 3000   Select ename from emp where job=โ€™clerkโ€™and sal>3000; 9. Display employee number and names for employees who earn commissi...