Forum Discussion

TomKeaten's avatar
TomKeaten
Qrew Member
3 months ago

Pipeline Run URL

Hey all,

I'm working on a tracking setup / creation log for pipeline runs and had a best-case-scenario question. When a pipeline runs, does it have access to the link to that run's URL? The one that you see if you go to an individual "This run's activity" link from the pipeline itself.

My ideal outcome here is that I'm using the pipeline to stamp that run's activity URL onto the record it made so that we can just hop to the run if there's an issue.

(Alternative is to just link to the pipeline's general URL, which is fine, but certainly less efficient)

Thanks!



------------------------------
Tom Keaten
------------------------------

3 Replies

    • TomKeaten's avatar
      TomKeaten
      Qrew Member

      Absolutely nailed it, thank you for this.



      ------------------------------
      Tom Keaten
      ------------------------------
  • Maybe? If you look at the 'trigger' you can see in the headers that there is a run-id

    However if your intent is to get a direct link I don't think Pipelines activity works like that. If you follow the hyperlinks in the logs or the emails - they take you to a generic link and then add filters in the url like:

    ?filter_groups=failure&start=1710201890

    or ?

    start=1710405129&end=1710837129

    You might be able to just try and capture the start and end and create the url based off that. 



    ------------------------------
    Chayce Duncan
    ------------------------------