Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow variations & sharing steps between workflows #320

Open
0xMostafa opened this issue Jan 23, 2025 · 1 comment
Open

Workflow variations & sharing steps between workflows #320

0xMostafa opened this issue Jan 23, 2025 · 1 comment

Comments

@0xMostafa
Copy link

I've a workflow that varies:

  • if user is an undergrad, form will ask for university name
  • if user is a graduate, form will ask for company name

but all other steps all the same, how to implement variations?

should I define a workflow per variation? or there is some way to define variations in one workflow?

Also, if i settled for workflow-per-variation, how to share steps between workflows/variations and use their input & output dynamically?

Thank you!

@ndenny
Copy link
Collaborator

ndenny commented Jan 24, 2025

Hi @0xMostafa - this question might be better suited to our Slack channel on the OAI's Slack - https://www.openapis.org/ > Participate > Join our Slack - then join the #arazzo channel.
I'm a little rusty on the exact details, but I think that because you can have a step in a workflow that is itself a workflow means you could have two sub-workflows and an if statement to control which one is called to handle this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants