cancel
Showing results for 
Search instead for 
Did you mean: 

Create a SnapLogic task through another trigger task

krish_pwc
New Contributor II

Here is the pipeline to create a trigger task for a existing pipeline and if we expose the pipeline as a trigger task then , through that trigger task we can create other trigger task for other pipeline.
image

the input json is;

[
{
“parameters”: {
“pipeline_path”: “/xxx/xxx1/fff/jsjs”,
“pipeline_snode_id”: “GPLEX”,
“job_type”:“regular”,
“execution_timeout”:5,
“include_external_urls”:true,
“max_failures”:10,
“max_in_flight”:200
},
“job_name”: “myjob1111”,
“path_id”: “xxx/yyy/zzz”,
“job_class”: “PipelineJob”,
“note”: “test job”,
“external_run_url”:“”
}
]
the configuration of the “snaplogic read(snap name:“alreday exist?”)” like-
image

the configuration of snaplogic create snap is like:
image
and configuration of get job url details is:
image

This will create a trigger task for the given pipeline or if already exist it will throw error.

0 REPLIES 0