Skip to content

Commit f5d1d61

Browse files
authored
Update README.md
1 parent eb00c95 commit f5d1d61

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,28 @@ public class MyWorkflow : IWorkflow
2525
}
2626
```
2727

28+
## JSON Workflow Definitions
29+
30+
Define your workflows in JSON
31+
32+
```json
33+
{
34+
"Id": "HelloWorld",
35+
"Version": 1,
36+
"Steps": [
37+
{
38+
"Id": "Hello",
39+
"StepType": "MyApp.HelloWorld, MyApp",
40+
"NextStepId": "Bye"
41+
},
42+
{
43+
"Id": "Bye",
44+
"StepType": "MyApp.GoodbyeWorld, MyApp"
45+
}
46+
]
47+
}
48+
```
49+
2850
### Sample use cases
2951

3052
* New user workflow

0 commit comments

Comments
 (0)