Closed
Description
What happened: When I use the following workflow definition and click the button to generate the diagram, nothing happens.
{
"id": "jsongreet",
"specVersion": "0.8",
"name": "Greeting workflow",
"expressionLang": "jsonpath",
"description": "JSON based greeting workflow",
"start": "ChooseOnLanguage",
"functions": [
{
"name": "greetFunction",
"type": "custom",
"operation": "sysout"
}
],
"states": [
{
"name": "ChooseOnLanguage",
"type": "switch",
"dataConditions": [
{
"condition": "{{ $.[?(@.language == 'English')] }}",
"transition": "GreetInEnglish"
},
{
"condition": "{{ $.[?(@.language == 'Spanish')] }}",
"transition": "GreetInSpanish"
}
],
"defaultCondition": {
"transition": "GreetInEnglish"
}
},
{
"name": "GreetInEnglish",
"type": "inject",
"data": {
"greeting": "Hello from JSON Workflow, "
},
"transition": "GreetPerson"
},
{
"name": "GreetInSpanish",
"type": "inject",
"data": {
"greeting": "Saludos desde JSON Workflow, "
},
"transition": "GreetPerson"
},
{
"name": "GreetPerson",
"type": "operation",
"actions": [
{
"name": "greetAction",
"functionRef": {
"refName": "greetFunction",
"arguments": {
"message": "$.greeting $.name"
}
}
}
],
"end": {
"terminate": true
}
}
]
}
What you expected to happen: I expected the diagram to be generated
How to reproduce it: Using the above json
Anything else we need to know?:
Environment:
- Specification version used: 0.8
Metadata
Metadata
Assignees
Labels
No labels