-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to test greeting workflow in Synapse? #357
Comments
@mumubin Can you try naming your action and see if that works? We are working in SW to make name or id required for every single component, and I took the initiative to already enforce it on Synapse |
Thanks @cdavernas . |
Fixed SW yaml. {
"id": "greeting",
"name": "Greeting Workflow",
"description": "Greet Someone",
"version": "1.0.8",
"specVersion": "0.8",
"functions": [
{
"name": "greetingFunction",
"operation": "https://gist.githubusercontent.com/mumubin/7d6ede1791ddd6fb705576187f91c930/raw/5357026c05ddb641de52b27d5e922856be1243e3/greeting.yaml#randomGreeting",
"type": "rest"
}
],
"start": "Greet",
"states": [
{
"name": "Greet",
"type": "operation",
"actions": [
{
"name": "GreetingAction",
"actionDataFilter": {
"results": "${ {greeting: .greeting} }"
},
"functionRef": {
"refName": "greetingFunction",
"arguments": {
"name": "${ .person.name }"
}
}
}
],
"end": true
}
]
} |
I am new to serverless workflow, I want to test it's example in synapse.
Here is my test example workflow.
here is my input data
But I got the error output
This is the log
The text was updated successfully, but these errors were encountered: