How to Configure a Parameter Set in a Taskflow

How to Configure a Parameter Set in a Taskflow

Using the RunAJob utility

Using the RunAJob utility

You can use the RunAJob utility to run jobs or check job status instead of making calls directly through the
Informatica Intelligent Cloud Services
REST API.
To use the RunAJob utility, type the RunAJob utility command followed by the arguments.
The following string is the RunAJob utility command:
cli.bat runAJobCli

RunAJob utility arguments

You can use the following arguments in a RunAJob command to run a taskflow:
Parameter
Argument
Description
username
-u
Informatica Intelligent Cloud Services
user name.
password
-p
Informatica Intelligent Cloud Services
password.
baseUrl
-bu
Base URL. Default is
https://dm-us.informaticacloud.com/ma
.
Required.
taskflowUniqueName
-un
Taskflow unique name.
Required to run a
Data Integration
taskflow.
parameterSetUniqueName
-pun
Unique name of the parameter set from which you want to provide values to the taskflow input parameters.
parameterDir
-pd
Parameter file directory. Include with parameterFile. Default is: <SecureAgentInstallDir>/apps/Data_Integration_Server/data/userparameters
parameterFile
-pf
Parameter file. Can be used for
mapping
tasks.
waitFlag
-w
Wait flag. Determines whether to wait for the job to complete or run the job in the background.
debug
-d
Display debugging information.
insecure
-k
Insecure mode.

Using the parameter set argument in the RunAJob utility

You can use a parameter set to provide values for taskflow input parameters and run the taskflow using the RunAJob utility.
You can download the RunAJob utility from the following community article:
When you run a taskflow that uses a parameter set, type the RunAJob utility command followed by the
-pun
or
--parameterSetUniqueName
argument.
To run a taskflow using the RunAJob utility, the taskflow must be published and you must include values for
Allowed Users
and
Allowed Groups
in the taskflow designer. For more information about taskflows, see the Taskflows documentation.
To run a taskflow that uses a parameter set, use one of the following syntaxes:
cli.bat runAJobCli -t TASKFLOW -un <taskflow_name> -fp <folder_path> -pun <unique_param_set_name>
cli.bat runAJobCli -t TASKFLOW -un <taskflow_name> -fp <folder_path> --parameterSetUniqueName <unique_param_set_name>
For example:
cli.bat runAJobCli -t TASKFLOW -un myTaskflow -fp myproject/folder1 -pun sampleParamSet
cli.bat runAJobCli -t TASKFLOW -un myTaskflow -fp myproject/folder1 --parameterSetUniqueName sampleParamSet
Here,
-pun
and
--parameterSetUniqueName
specify the unique name of the parameter set from which you want to provide values to the input parameters for the taskflow.
After or effective from the November 2021 release, all taskflows run by using the
/tf
endpoint from the RunAJob utility.
For more information about RunAJob utility, see the RunAJob utility documentation.

0 COMMENTS

We’d like to hear from you!