Search code examples
google-cloud-platformgoogle-workflows

GCP Workflow : Can we setup a step wait for other steps to complete?


I am using GCP Workflow Beta to check if I can build some of my workflows. The documentation mentions how we can conditionally execute steps with switch case and next for jumps. However can we have a flows where

  1. A step waits for two or more previous steps to complete
  2. Multiple steps triggered the same time.

As you can see, what I am implying is conditional parallel execution of steps. Is there a way to do this ?

Also, I see we have some basic functions like len, string etc in the examples. Can you please guide me where I can find a list of all such functions that are available ? I was looking for something to manipulate JSON.


Solution

  • You can't wait a step because you can't run multiple step in parallel for now.

    In my company, we also expect, and wait, a lot about parallelization and that's why I had a meeting with the PM yesterday to share these expectation with him. It's one of the top priority in the roadmap but I don't know when it will be released (something like Q1 or Q2 2021 I guess).

    The functions sounds like python code but it's not really clear in the documentation. I will share this with the PM.