Comments (3)
AFAICS, parallelstate and parallel-mode eventactions have the same problem but would solve it with actiondatafilter. Would eventdatafilter for each received event also solve it?
from wg-serverless.
As of now, there is only a single eventdatafilter in an eventaction definition that would be applied to all events collected, correct? that makes absolutely no sense :)
IMHO each incoming event would need a separate eventdatafilter to achieve conflict-free merging.
Additionally, an event state may get incoming data from a previous state in case it is transitioned to. Because, IIUC, the behaviour of event state is different when a workflow starts with an event state (in which case the event triggering the workflow is being evaluated in the eventaction expression) or whether a workflow transitions into an event state (in which case the passed input [event] is not evaluated against the expression). So conflict-free data merging can become extra complicated.
Furthermore, if I wanted to loop in order to collect a batch of events, I might need to retain more data from the first occurence than from subsequent events. Or have the last occurence overwrite some of the data of the first occurence (as in latest timestamp) or batch the entire set of events altogether to not loose any of the details.
I'm not sure anymore if an eventdatafilter per referred event would be enough. it would also require some dataOutputPath to decide where to inject the received data. This somehow conflicts with the alternate behaviour of the event state.
from wg-serverless.
Will move to new repo
from wg-serverless.
Related Issues (20)
- [workflow] add something to the governance doc about how to become a maintainer HOT 5
- [workflow] Proposal: Confusing Terms and Scope of Workflow WG HOT 10
- [workflow] Terminology, Scope and Specification Core simplification HOT 23
- [workflow] Proposal: Serverless Workflow WG Scope HOT 4
- [workflow] Spec contents that are difficult to understand HOT 34
- restructure the event state and operation state HOT 3
- Unmanageable event expressions in event states HOT 17
- Restrictions on defining multiple event triggers HOT 4
- Transition precedence with the retry definition HOT 3
- [workflow] separating consumed/produced event types HOT 1
- [workflow] Spell check specification documents HOT 1
- [workflow] Check/Verify relative + absolute links in specification docs HOT 7
- [workflow] Verify all examples code against the latest JSON Schema HOT 3
- [workflow] Verify all relative+absolute links in community docs HOT 2
- Is cron like scheduling possible? HOT 2
- Clarification on supporting multiple actions and actionMode in Operation State HOT 3
- .
- Workflow link in readme.md broken HOT 1
- Pullman HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wg-serverless.