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

Custom workflows #7839

Open
daneel3001 opened this issue Jun 24, 2024 · 3 comments
Open

Custom workflows #7839

daneel3001 opened this issue Jun 24, 2024 · 3 comments

Comments

@daneel3001
Copy link

Hello

Is the capability of publishing Custom Workflows in Dapr considered ?
Scenario: I would like to enable the Workflow functionality in a software whereby it is possible to publish a workflow definition entirely from code and then of publishing it to the Dapr Workflow component.

I have parsed the documentation and I cannot find any reference to this capability.

Thanks

@olitomlinson
Copy link

workflows are entirely based in code, so I'm a little unsure how what you're asking for differs from what exists today.

Can you provide an example of what this would look like?

@daneel3001
Copy link
Author

workflows are entirely based in code, so I'm a little unsure how what you're asking for differs from what exists today.

Can you provide an example of what this would look like?

I understand it's today based on code. I wanted to know if there is a plan to be able to declaratively describe a workflow along its policies and then publish it to the runtime. The scenario is indeed workflows that aren't known ahead of time and configured by users via a dedicated component.

@WhitWaldo
Copy link
Contributor

@daneel3001 The current implementation is based on the approach taken by the Durable Task framework and I haven't seen any mention here or there of some sort of configuration-based generative approach like what I think you're describing.

Fundamentally, I don't think that would be possible with how the workflows work today. Under the hood, they're serving their various activities to run atop Actors which themselves don't support a configuration-based approach.

While you might be able to parameterize what it is that happens based on the options you pass in, Workflows doesn't facilitate an on-demand flow composition experience like what you might get from an implementation of Reaqtor or the like and several large additional components would need to be added to even imagine such a broad capability.

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

3 participants