cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Passing Timezone to Triggered Task

harshareddy
New Contributor II

I know there is a way to pass timezone using schedule task but is there a way to pass timezone for a triggered task?

3 REPLIES 3

darshthakkar
Valued Contributor

Hi @harshareddy,

I didnโ€™t quite get what the concern is, can you please explain in detail?

Well we would like to reuse existing triggered task which is reusable task that would trigger various process. Would like to pass a timezone like " EST" , โ€œMSTโ€ etc so we could reuse the task as it get triggered by variable dependencies.

koryknick
Employee
Employee

If you have your pipeline setup with Pipeline Parameters, you can override the values in the triggered task URL by passing the values as part of the query string. For example, assume I have โ€œtimeZoneโ€ as my Pipeline Parameter to a triggered task, it would look something like the following:

https://elastic.snaplogic.com/api/1/rest/slsched/feed/.../SampleTriggerTask?timeZone=EST

For more information on sending parameter values to your triggered task, refer to the online documentation on Passing Pipeline Arguments to Triggered Tasks.