Search code examples
google-cloud-data-fusion

Conditional component


Is there a way to

  1. get a particular pipeline's, say P1, status (failed / completed) in conditional component in pipeline P2?
  2. Can we call a pipeline from conditional component?

Usecase: I have functional pipelines F1, F2, F3 etc and audit pipelines as audit_success and audit_failure. If I can get F3's status in 1 single audit pipeline, I can have 2 branches in same pipeline thereby avoiding creation of 2 pipelines.


Solution

  • There is no conditional component that checks for another pipeline's status. However, you can achieve this through pipeline triggers, but as you mentioned it does require two different pipelines.