CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

When clause | Ability to pass in prior task response values

Open bobbysfdev opened this issue 2 years ago • 0 comments

Feature Type

I'm interested in functionality that solves a current problem or limitation in how CumulusCI works.

Does your feature request solve a current problem?

Yes, when clauses are valuable for dynamically skipping tasks and flows. But we cannot reference the output of a prior task response such as: when: "^^my_custom_task.response == 'Good to Go!'"

Describe the solution you'd like

I would be happy if the solution matches the same formatting as passing in a prior task response to an option parameter in another task. when: "^^my_custom_task.response == 'Good to Go!'")

Describe alternatives you've considered

No response

Additional context

Here is an example. https://vimeo.com/866825016?share=copy

bobbysfdev avatar Sep 21 '23 18:09 bobbysfdev