User Guide > ilmcmd > Workflow
  

Workflow

Generates a workflow, displays the status of a workflow run, or runs a workflow.
The ilmcmd workflow command uses the following syntax:
ilmcmd
<-WorkFlow | -wf>
<<-Generate | -g> | <-Execute | -ex> | <-GetStatus | -gs>>
<-Project> folder_name
<-PlanName | -pn> plan_name
<-WorkFlowName | -wfn> Workflow_name
<-IntegrationService | -is> integration_service_name
[-Help | -h]
The following table describes the ilmcmd workflow options and arguments:
Option
Argument
Description
-Generate
-g
n/a
Generates a workflow.
-Execute
-ex
n/a
Runs the workflow.
-GetStatus
-gs
n/a
Gets the status of a workflow.
-GetWorkFlows
-gwf
n/a
Gets workflows for a plan.
-Project
project_name
Required. The name of the folder that contains the plan.
-PlanName
-pn
plan_name
Required. The plan name.
-WorkFlowName
-wfn
workflow_name
Required to generate a workflow. The location of the workflow properties file.
-IntegrationService
-is
integration_service_name
Required to run a workflow. The name of the PowerCenter Integration Service. Required when you run the workflow.
-JobId
job_id
Required. The job ID of the workflow run.
-Help
-h
n/a
Optional. Displays help for the command.

Workflow Examples

Generating a Workflow

The following sample command generates a workflow for the Plan_NameMasking plan:
ilmcmd -wf -g -Project Infa_Project -pn Plan_NameMasking

Monitoring a Workflow

The following sample command monitors the status of a workflow for a plan:
ilmcmd -wf -gs -JobId 360

Running a Workflow

The following sample command runs a workflow for the Plan_NameMasking plan:
ilmcmd –wf –ex –Project TDM –pn Plan_NameMasking –is PCInteg