You are on page 1of 10

Concurrent Execution of Informatica Workflow

Creation Date Last Updated Version

26 April 2011 26 April 2011

Amendment History
Version Number 1.0 Name Hari P Elluru Date 26/04/2011 Description of changes or Other Comments Initial Draft

Acknowledgements
Name Srivatsan Ravichandar Help Review the document

Contents
INTRODUCTION........................................................................................................................... 4 1 DOCUMENT PURPOSE.............................................................................................................. 4 2 SCENARIO.................................................................................................................................. 4 3 DETAILS ..................................................................................................................................... 5 4 CONCLUSION........................................................................................................................... 10

INTRODUCTION 1 DOCUMENT PURPOSE The purpose of this document is to provide with a detailed process for ETL developers to run a workflow more than one instance at a time using different/same parameter files. 2 SCENARIO Assume a typical ETL or datawarehouse project which loads data from OLTP source systems into a staging area or a datawarehouse. This is usually implemented through multiple mappings in Informatica. To run these mappings, there are workflows having multiple sessions within it. There might be a requirement where a workflow needs to be run more than one instance at the same time. Problem When the workflow A needs to be run with different instances and with different parameter files for each instance, the following solution works out. For ex: There is a workflow A and you need to run with different param files P1, P2, P3, provide either of the options for running multiple times or different instances with different names. A -> P1 A -> P2 A -> P3 OR A1 -> P1 A2 -> P2 A3 -> P3

3 DETAILS 1.1 Click on Workflow Edit tab.

1.2

Enable the checkbox Configure Concurrent Execution, click the button Configure Concurrent Execution and edit the properties.

1.3

Configure the Parameter File- Give the complete path of the parameter file for the first instance. Similarly define another instance and then define another parameter file specific to this instance. Repeat the creation of instances and the related parameter file as many as required.

1.4

Select the Option: Start Workflow Advanced which is available on Right click.

1.5

Give the details for Integration Service and Operating System Profile in Advanced Options and also select the specific Instances to be executed or If needed select all the instances. One or more instances can also be selected and executed simultaneously.

1.6

The workflow with run instances PS_SUPVR and PS_SUPVR2 are selected to run, This can be seen in the screenshot below. In the workflow monitor, the execution of the invoked instances can be tracked with the naming convention <<workflowname>>[instance_name].

Running the workflow in production environment: As manual intervention is not advisable in Production environment, to execute the workflow in production environment use the PMCMD command. The startworkflow command uses the following syntax in the command line mode: pmcmd startworkflow <<-service|-sv> service [<-domain|-d> domain] [<-timeout|-t> timeout]> <<-user|-u> username|<-uservar|-uv> userEnvVar> <<-password|-p> password|<-passwordvar|-pv> passwordEnvVar> [<-folder|-f> folder] [<-paramfile> paramfile] [<-localparamfile|-lpf> localparamfile] [<-osprofile|-o> OSUser] [-wait|-nowait] [<-runinsname|-rin> runInsName] Workflow_name Here, in the above syntax pass the "<-runinsname|-rin>" values as created earlier.

CONCLUSION

The above approach helps to override the limitation of executing workflows simultaneously existing in the older versions of Informatica.