Previous Topic: Example: Start a Workflow on Informatica from the BeginningNext Topic: Example: List Workflows that Match a Specified Pattern


Example: Start a Workflow on Informatica with a Parameter File

This example starts a workflow named WF_3 on the Informatica server. When the workflow runs, Informatica PowerCenter processes the specified parameter file.

wrappers/informatica.bat --command=startWorkflow --folderName=INFAPLUGIN --workflowName=WF_3 --paramFile=C:/Infa/wf3.prm 

The wf3.prm parameter file includes symbolic variables that override the default log directory and file name:

;Workflow Parameters
[INFAPLUGIN.WF:wf_3]
;Session parameters
$PMSessionLogFile=wf3.log
$PMSessionLogDir=C:\Infa\Log
;mapping parameters

For this workflow, log files will be stored in the C:\Infa\Log directory on the Informatica server and their name will start with wf3.log. The actual files that Informatica generates will be longer, for example, wf3.log.1358.20130726150952.bin.