03-28-2022 05:04 AM
When we create a Task for any Pipeline then it creates a task URL which is an API. If we give that URL to any third party application to run our pipeline from their application, How they will be able to trigger that API through external application.
What we will have to do for this?
03-28-2022 05:18 AM
Hi @Pakhi ,
If you look at the documentation for Running a Triggered Task, you can see that when you create a task for pipeline, there is bearer token used for authentication.
So, if you copy/paste the URL(API) in, let’s say postman, you have to set the bearer token in order to execute the API.
BR,
Marjan
03-28-2022 05:36 AM
suppose there is a different application for scheduling all the jobs of snaplogic. so what kind of configuration we need to do in that application other than giving the url(API) so that that application will be able to access that API
03-28-2022 05:38 AM
I think that the API and the token are enough in order to execute them.
03-31-2022 08:41 AM
We use the URL and token to trigger jobs to run out of our Control-M scheduling application. Only issue we have had - and I think there is a solution but we haven’t had the time to go back and play with it - is a 15 minute timeout on the web interface. So jobs over 15 minutes run time ‘fail’ in Ctl-M when the window closes even though they are still running in SnapLogic successfully. Again, we have been told a work around for that, just no time to work on right now!