Comments (6)
- no its not optional. have to wait for completion of service(s) that are executed.
- pr enough :)
from specification.
triggerEventRef is an event that the workflow instance has to produce. then waits for the "timeout" duration for resultEventRef. The payload of resultEventRef should be merged then to the state data before next action is executed. HTH
One thing I noticed is that in the "data" property description of EventRef definitions says:
"data (payload) of the produced event". Would be probably more clear if we add that this parameter is associated specifically to the triggerEventRef as its represents the payload of the trigger event this action produces.
Just something that we could add as a pr if anyone wants to help ...hint hint ;)
from specification.
triggerEventRef is an event that the workflow instance has to produce. then waits for the "timeout" duration for resultEventRef. The payload of resultEventRef should be merged then to the state data before next action is executed. HTH
Right, but couldn't resultEventRef
be optional?
"data (payload) of the produced event". Would be probably more clear if we add that this parameter is associated specifically to the triggerEventRef as its represents the payload of the trigger event this action produces.
Just something that we could add as a pr if anyone wants to help ...hint hint ;)
Hehe, I'd love to send that in. :-)
Should I create a new issue or just the PR is enough?
from specification.
no its not optional. have to wait for completion of service(s) that are executed.
Ohhhh, right. Right, it makes sense to me now. Without it, we couldn't tell if the services which got triggered actually finished. Is that it?
from specification.
@LCaparelli yeah, allows to invoke a service or chain of services which are not exposed via rest for example, but are triggered via events. result event denotes the completion of this service (chain) exec.
This allows us to cover cases such as https://quarkus.io/guides/funqy-knative-events for example.
from specification.
Ah, awesome. The use case is much clearer to me now, thanks @tsurdilo! Closing the issue :-)
from specification.
Related Issues (20)
- Add parallel (and mixed) operations and events HOT 1
- Code of Conduct update to replace mediator email with the CNCF committee email HOT 1
- Unable to unmarshal FunctionRef.Invoke field HOT 2
- Is the specification so complex that it can be used in practice HOT 2
- String concatenation in JQ expression HOT 1
- Events and event correlation question HOT 2
- Bug in `functions` schema HOT 14
- Define function input schemas for operations with securitySchemes HOT 7
- ProducedEvent.contextAttributes defined as object type but example definition shows that it is array type HOT 1
- Event data should accepts json object with expressions not just a single expression as string. HOT 1
- EventTimeout supporting expression HOT 1
- Incorporate "rest" and "openapi" functions into "openapi" HOT 2
- Examples README samples are broken HOT 12
- Timeout expiration behaviour, transition to an specific state, not the regular one HOT 2
- Rename action `functionRef` property HOT 1
- Invalid function reference in example 'perform-customer-credit-check.json' HOT 1
- Use maps instead of arrays for complex objects in the specification HOT 3
- Merge behaviour HOT 2
- Add namespace property HOT 1
- Upcoming new DSL for 1.0.0-alpha1 version release 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 specification.