Forum Discussion

Vishaal_Arun's avatar
Vishaal_Arun
New Contributor II
2 years ago
Solved

Create a triggered task using snaplogic pipeline

Hi all,

I have a requirement with me that I need to create a triggered task automatically with the pipeline parameters of the existing scheduled tasks using the snaplogic create snap.

Is it possible to do that? If yes, please let me know how can i figure out the solution

Thanks in advance for your help.

Thanks,

Vishaal A

 

  • Vishaal_Arun 

    Check Kory's reply, you need an existing Triggered Task(as an example, just to get the JSON metadata structure), and update the pipeline parameters property from the details read from Scheduled Task. 

    I just missed to add that in the previous post attached pipeline. 

     

4 Replies

  • Vishaal_Arun - This is actually fairly simple if you have a task to start from.  Just use the SnapLogic Read snap to get the existing task metadata, update any of the properties you need within the JSON object returned from it, then use the SnapLogic Create snap with TASK as the Asset Type and the new task name in the Asset Path property.

  • Vishaal_Arun's avatar
    Vishaal_Arun
    New Contributor II

    Hi Both,

    It's creating a scheduled task, Can we create triggered task directly with the pipeline?

  • SpiroTaleski's avatar
    SpiroTaleski
    Valued Contributor

    Vishaal_Arun 

    Check Kory's reply, you need an existing Triggered Task(as an example, just to get the JSON metadata structure), and update the pipeline parameters property from the details read from Scheduled Task. 

    I just missed to add that in the previous post attached pipeline.