Comments (3)
@yzhao244
this is indeed a workflow definition design choice based on your requirements (whether to have a single function invocation in your actions or multiple).
A State (or Task in ASL as you mentioned) for us represents a unit of work.
An action definition can be part of this unit of work, but in some cases you can have multiple actions represent a single one.
Error handling in SW currently is based again, on errors raised during unit of work / state execution, and so are retry definitions.
So yes, the way of defining a retry definition for a single action (function invocation) is to have a single action associated with your action definition.
Do you have some use cases where you think this is better handled in a different way(s)?
from wg-serverless.
One more thing - the project github repo is here: https://github.com/serverlessworkflow/specification
If you don't mind lets more our conversations there so community can see it better. Ty
from wg-serverless.
@tsurdilo I am very sorry that I opened issue here. I will create a new one there and close this one
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
- [workflow] Defining multiple events in eventsActions expression and state data integrity HOT 3
- 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
- .
- 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.