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

Dynamic runtime/user defined workflows #235

Open
oskargargas opened this issue Aug 25, 2022 · 1 comment
Open

Dynamic runtime/user defined workflows #235

oskargargas opened this issue Aug 25, 2022 · 1 comment

Comments

@oskargargas
Copy link

Hi! In my use case I see a need (sometime in future) to add possibility for users to customize the workflow. Ignoring some states is easy enough by conditional transitions. The question is about adding custom states.

Based on #55 and #92 I see that it should be possible to dynamically create a workflow specification and then inject it where it's needed via assign_workflow. On top of that I assume it should be possibile to add some customization via meta-programming (instance_eval and similar magic).

If I come to a point when I'll need to add such feature and if I find it's much easier to modify library itself then to manage such code on application side, would you accept such PR?

@tlloydthwaites
Copy link

Hi, I have the same need, see this comment for an example:

#92 (comment)

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