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

Allow for_each step argument to accept a method name #81

Open
fractaledmind opened this issue Jul 28, 2023 · 0 comments
Open

Allow for_each step argument to accept a method name #81

fractaledmind opened this issue Jul 28, 2023 · 0 comments

Comments

@fractaledmind
Copy link
Owner

Currently for_each can only provide the key name for a key present in the persisting hash. This means that steps can only iterate over data present before the workflow begins. We need to be able to allow a workflow to iterate over data generated within the workflow itself. Consider, for example, a workflow job that traverses and processes the paginated responses from an API endpoint. We can have a step method to process each page, but we would need an earlier step method to make the pagination API requests to feed the iteration.

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

1 participant