โ08-02-2022 10:46 AM
I know there is a way to pass timezone using schedule task but is there a way to pass timezone for a triggered task?
โ08-02-2022 01:02 PM
Hi @harshareddy,
I didnโt quite get what the concern is, can you please explain in detail?
โ08-02-2022 01:27 PM
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.
โ08-03-2022 07:36 AM
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.