Closed sandeep-paliwal closed 1 month ago
@sandeep-paliwal You are not gonna find any documentation regarding states
, actions
and functions
, because those are opiniated and confusing concepts that do not exist anymore, as they have all been replaced with tasks
.
Your example would translate as the following in 1.0.0
:
document:
dsl: 1.0.0
namespace: default
name: Demo1
version: 1.0.0
use:
functions:
doSomething:
call: http
with:
method: get
endpoint: https://github.com/serverlessworkflow/specification
do:
- Step1:
call: doSomething
I would recommend you check both the examples and the CTK in order to further understand the changes the spec went through.
Does that answer your question?
I'm closing the issue, because it is not a bug, problem or feature request. Please feel free, however, and if need be, to start a new discussion!
@sandeep-paliwal you might be looking for the previous version's documentation https://github.com/serverlessworkflow/specification/tree/0.9.x
Thanks a lot. This is exactly what I was looking for.
I was going through https://github.com/serverlessworkflow/specification/blob/main/dsl-reference.md, but I could not find any details about states , actions and functions. Here is a valid sample workflow JSON and I want to understand what all can go in defining