src/yaml/copy-data.yaml [30:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        - sub_check_if_run:
            steps:
                - assign_values:
                    assign:
                      - project_id: $${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}
                      - location: $${sys.get_env("GOOGLE_CLOUD_LOCATION")}
                      - workflow_id: $${sys.get_env("GOOGLE_CLOUD_WORKFLOW_ID")}
                - get_executions:
                    call: http.get
                    args:
                        url: $${"https://workflowexecutions.googleapis.com/v1/projects/"+project_id+"/locations/"+location+"/workflows/"+workflow_id+"/executions"}
                        auth:
                            type: OAuth2
                    result: Operation
                - check_if_run:
                    switch:
                      - condition: $${len(Operation.body.executions) > 1}
                        next: end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/yaml/project-setup.yaml [30:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - sub_check_if_run:
        steps:
          - assign_values:
              assign:
                - project_id: $${sys.get_env("GOOGLE_CLOUD_PROJECT_ID")}
                - location: $${sys.get_env("GOOGLE_CLOUD_LOCATION")}
                - workflow_id: $${sys.get_env("GOOGLE_CLOUD_WORKFLOW_ID")}
          - get_executions:
              call: http.get
              args:
                url: $${"https://workflowexecutions.googleapis.com/v1/projects/"+project_id+"/locations/"+location+"/workflows/"+workflow_id+"/executions"}
                auth:
                  type: OAuth2
              result: Operation
          - check_if_run:
              switch:
                - condition: $${len(Operation.body.executions) > 1}
                  next: end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



