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

Reduce number of nodes on Serverless Workflow process definition #3449

Open
fjtirado opened this issue Mar 19, 2024 · 0 comments
Open

Reduce number of nodes on Serverless Workflow process definition #3449

fjtirado opened this issue Mar 19, 2024 · 0 comments
Assignees

Comments

@fjtirado
Copy link
Contributor

fjtirado commented Mar 19, 2024

Description

Serverless Workflow parser is reusing jbpm nodes that were defined for bpmn standard.
When there is not direct mapping, as it happen with data filters and several function types, we are relying on a mix of multiple composite, action and workitem nodes.
The purpose of this issue is to explore the possibility of adding additional nodes to the engine the are better suited for those purposes.
With that we will achieve:

  1. Smaller process definitions
  2. Faster execution performance
  3. Easier mapping between nodes and states in runtime tooling
  4. The possibility of generating a workflow from a process definition.

Implementation ideas

Add SWFStateNode and SWFStateNodeImpl for data filtering purposes.
The connection link, switch state, compesation and error handling will still rely on the engine as they are now.
Start with Operation and ForEach states.

@fjtirado fjtirado changed the title Reduce number of nodes on Serverless Workflow definitions Reduce number of nodes on Serverless Workflow process definition Mar 19, 2024
@fjtirado fjtirado self-assigned this Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant