Skip to content

Commit

Permalink
The action name is required, but it is missing in the example.
Browse files Browse the repository at this point in the history
  • Loading branch information
bin.hu committed Nov 7, 2023
1 parent 8a7152e commit df9f383
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Which is added to the states data and becomes the workflow data output.
"type":"operation",
"actions":[
{
"name": "greetingAction",
"functionRef": {
"refName": "greetingFunction",
"arguments": {
Expand Down Expand Up @@ -202,7 +203,8 @@ states:
- name: Greet
type: operation
actions:
- functionRef:
- name: greetingAction
functionRef:
refName: greetingFunction
arguments:
name: "${ .person.name }"
Expand Down

0 comments on commit df9f383

Please sign in to comment.