Ask Your Question
1

Determine last time the pipeline ran from within the pipeline?

asked 2020-06-02 13:23:54 -0500

zac gravatar image

I need to be able to determine the last time Pipeline A completed successfully from within Pipeline A. Is there a way to do this using the history or some other internal data?

I have considered using the Pipeline Stop event to call Pipeline B to write to an external resource to be read by Pipeline A when it executes next.

Thank you for your time.

Zac

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-06-09 10:25:25 -0500

iamontheinet gravatar image

Hi!

You can invoke GET request to /v1/pipeline/{pipelineId}/history REST API endpoint using HTTP Client processor (or one of the scripting processors) and parse the response to get the information you need.

Cheers, Dash

edit flag offensive delete link more

Comments

Thank you! This is exactly what I needed. I will be sure to read through all those APIs.

zac gravatar imagezac ( 2020-06-09 18:46:00 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-06-02 13:23:54 -0500

Seen: 25 times

Last updated: Jun 09